Пример #1
0
 public Dialog(Form1 frm1)
 {
     InitializeComponent();
     form1    = frm1;
     controll = new ClassController(this);
     CmbBox   = controll.InitTreeView();
     InitCheckBoxList();
 }
Пример #2
0
        public Form1()
        {
            InitializeComponent();

            controll = new ClassController(this);
            TreeView = controll.InitTreeView();
            InitTreeViewNodes();
            button1.Visible  = false;
            button2.Visible  = false;
            button3.Visible  = false;
            label4.Visible   = false;
            textBox1.Visible = false;
            label3.Text      = "";
            label5.Text      = "";

            dataGridView1.AutoSizeRowsMode          = DataGridViewAutoSizeRowsMode.AllCells;
            dataGridView1.DefaultCellStyle.WrapMode = DataGridViewTriState.True;
        }