protected override void OnLoad(EventArgs e)
 {
     foreach (Page aIt in designer.DesignedControl.Controls)
     {
         MultiPanePageItem aItem = new MultiPanePageItem(aIt);
         cmbItems.Items.Add(aItem);
         if (designer.DesignerSelectedPage == aIt)
         {
             cmbItems.SelectedItem = aItem;
         }
     }
 }
Esempio n. 2
0
 protected override void OnLoad(EventArgs e)
 {
     foreach (MultiPanePage page in this.myDesigner.DesignedControl.Controls)
     {
         MultiPanePageItem item = new MultiPanePageItem(page);
         this.myCtlCmbItems.Items.Add(item);
         if (this.myDesigner.DesignerSelectedPage == page)
         {
             this.myCtlCmbItems.SelectedItem = item;
         }
     }
 }
Esempio n. 3
0
        protected override void OnLoad(EventArgs e)
        {
            foreach (MultiPanePage aIt in myDesigner.DesignedControl.Controls)
            {
                var aItem = new MultiPanePageItem(aIt);
                myCtlCmbItems.Items.Add(aItem);

                if (myDesigner.DesignerSelectedPage == aIt)
                {
                    myCtlCmbItems.SelectedItem = aItem;
                }
            }
        }
Esempio n. 4
0
        protected override void OnLoad(EventArgs e)
        {
            foreach (MultiPanePage aIt in myDesigner.DesignedControl.Controls)
            {
                MultiPanePageItem aItem = new MultiPanePageItem(aIt);
                myCtlCmbItems.Items.Add(aItem);

                if (myDesigner.DesignerSelectedPage == aIt)
                    myCtlCmbItems.SelectedItem = aItem;
            }
        }
Esempio n. 5
0
 protected override void OnLoad(EventArgs e)
 {
     foreach (MultiPanePage page in this.myDesigner.DesignedControl.Controls)
     {
         MultiPanePageItem item = new MultiPanePageItem(page);
         this.myCtlCmbItems.Items.Add(item);
         if (this.myDesigner.DesignerSelectedPage == page)
         {
             this.myCtlCmbItems.SelectedItem = item;
         }
     }
 }