function BasicPane.SetVisible(l,C,F)assert(type(C)=="\098\111\111\108\101\097\110","\066\097\100 \105\115\086\105\115\105\098\108\101")if l._visible~=C then l._visible=C local B=Maid.new()l._maid._paneVisibleMaid=B l.VisibleChanged:Fire(l._visible,F,B)end end

function BasicPane:SetVisible(isVisible, doNotAnimate)
	assert(type(isVisible) == "boolean", "Bad isVisible")

	if self._visible ~= isVisible then
		self._visible = isVisible

		local maid = Maid.new()
		self._maid._paneVisibleMaid = maid
		self.VisibleChanged:Fire(self._visible, doNotAnimate, maid)
	end
end
