public void removeControl(xBaseControl c) { if (c != null) { mContainer.Controls.Remove(c.getControl()); } }
public void setPanels(xBaseControl panel1, xBaseControl panel2) { mPanel1 = panel1; mPanel2 = panel2; SplitContainer splitter = (SplitContainer)getControl(); splitter.Panel1.Controls.Add(mPanel1.getControl()); splitter.Panel2.Controls.Add(mPanel2.getControl()); adjustPanelsSize(); }
public void addControl(xBaseControl c) { TabPage page = (TabPage)getControl(); page.Controls.Add(c.getControl()); }
public bool contains(xBaseControl c) { Control cc = c.getControl(); return(mContainer.Controls.Contains(cc)); }
public void addControl(xBaseControl c) { mContainer.Controls.Add(c.getControl()); }
public void addControl(xBaseControl c) { mPanel.Controls.Add(c.getControl()); }