Exemple #1
0
 private void LoadConrtol()
 {
     ImageControl = new ImageView();
     ImageControl.Dock = DockStyle.Fill;
     FlashControl = new FlashView();
     FlashControl.Dock = DockStyle.Fill;
     FunctionControl = new FunctionView();
     FunctionControl.Dock = DockStyle.Fill;
 }
        private void LoadControl()
        {
            ImageControl = new ImageView();
            ImageControl.SelectedChanged += new ListViewItemSelectionChangedEventHandler(ImageControl_SelectedChanged);
            ImageControl.Dock = DockStyle.Fill;
            tpGeneral.Controls.Add(ImageControl);

            DatabindControl = new DataBind();
            DatabindControl.Dock = DockStyle.Fill;
            tpAdvanced.Controls.Add(DatabindControl);
        }