public function SetEditPane(QPanel $objPanel = null) { $this->pnlEdit->RemoveChildControls(true); if ($objPanel) { $objPanel->SetParentControl($this->pnlEdit); $this->pnlEdit->Visible = true; } else { $this->pnlEdit->Visible = false; } }
public function SetRightPane(QPanel $objPanel = null) { $this->pnlRight->RemoveChildControls(true); $objPanel->SetParentControl($this->pnlRight); }