Esempio n. 1
0
        private void RecreatePropertyGrid()
        {
            //propertyGrid.ClearProperties();

            propertyGrid.Dispose();
            propertyGrid = new CustomPropertyGridTest.DynamicPropertyGrid();
            this.SuspendLayout();
            this.propertyGrid.BackColor = System.Drawing.SystemColors.Control;
            this.propertyGrid.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid.Location  = new System.Drawing.Point(0, 0);
            this.propertyGrid.Name      = "propertyGrid";
            this.propertyGrid.Size      = new System.Drawing.Size(234, 414);
            this.propertyGrid.TabIndex  = 0;
            this.Controls.Add(this.propertyGrid);
            this.ResumeLayout(false);
        }
Esempio n. 2
0
        private void RecreatePropertyGrid()
        {
            //propertyGrid.ClearProperties();

            propertyGrid.Dispose();
            propertyGrid = new CustomPropertyGridTest.DynamicPropertyGrid();
            this.SuspendLayout();
            this.propertyGrid.BackColor = System.Drawing.SystemColors.Control;
            this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid.Location = new System.Drawing.Point(0, 0);
            this.propertyGrid.Name = "propertyGrid";
            this.propertyGrid.Size = new System.Drawing.Size(234, 414);
            this.propertyGrid.TabIndex = 0;
            this.Controls.Add(this.propertyGrid);
            this.ResumeLayout(false);
        }