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;
         }
     }
 }
Пример #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;
         }
     }
 }
Пример #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;
                }
            }
        }
Пример #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;
            }
        }
Пример #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;
         }
     }
 }