示例#1
0
 public void removeControl(xBaseControl c)
 {
     if (c != null)
     {
         mContainer.Controls.Remove(c.getControl());
     }
 }
示例#2
0
        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();
        }
示例#3
0
        public void addControl(xBaseControl c)
        {
            TabPage page = (TabPage)getControl();

            page.Controls.Add(c.getControl());
        }
示例#4
0
        public bool contains(xBaseControl c)
        {
            Control cc = c.getControl();

            return(mContainer.Controls.Contains(cc));
        }
示例#5
0
 public void addControl(xBaseControl c)
 {
     mContainer.Controls.Add(c.getControl());
 }
示例#6
0
 public void addControl(xBaseControl c)
 {
     mPanel.Controls.Add(c.getControl());
 }