Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.property_Grid1  = new Salford.VisualClearWin.Property_Grid();
     this.drawing_Panel1  = new Salford.VisualClearWin.Drawing_Panel();
     this.decimal_UpDown1 = new Salford.VisualClearWin.Decimal_UpDown();
     this.decimal_UpDown2 = new Salford.VisualClearWin.Decimal_UpDown();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.decimal_UpDown4 = new Salford.VisualClearWin.Decimal_UpDown();
     this.decimal_UpDown3 = new Salford.VisualClearWin.Decimal_UpDown();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown3)).BeginInit();
     this.SuspendLayout();
     //
     // property_Grid1
     //
     this.property_Grid1.CommandsVisibleIfAvailable = true;
     this.property_Grid1.GridAttributes             = new string[] {
         "Title|System.String|Attributes|The title",
         "Filled|System.Boolean|Attributes|True if the figured is filled",
         "Colour|System.Drawing.Color|Attributes|The colour of the figure",
         "Font|System.Drawing.Font|Attributes|The font for the title"
     };
     this.property_Grid1.LargeButtons  = false;
     this.property_Grid1.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.property_Grid1.Location      = new System.Drawing.Point(16, 16);
     this.property_Grid1.Name          = "property_Grid1";
     this.property_Grid1.Size          = new System.Drawing.Size(256, 184);
     this.property_Grid1.TabIndex      = 0;
     this.property_Grid1.Text          = "property_Grid1";
     this.property_Grid1.ViewBackColor = System.Drawing.SystemColors.Window;
     this.property_Grid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.BackColor   = System.Drawing.SystemColors.Window;
     this.drawing_Panel1.BitmapSize  = new System.Drawing.Size(0, 0);
     this.drawing_Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Location    = new System.Drawing.Point(285, 16);
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(272, 266);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 1;
     //
     // decimal_UpDown1
     //
     this.decimal_UpDown1.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown1.Location = new System.Drawing.Point(56, 221);
     this.decimal_UpDown1.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown1.Name     = "decimal_UpDown1";
     this.decimal_UpDown1.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown1.TabIndex = 2;
     this.decimal_UpDown1.Value    = new System.Decimal(new int[] {
         40,
         0,
         0,
         0
     });
     //
     // decimal_UpDown2
     //
     this.decimal_UpDown2.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown2.Location = new System.Drawing.Point(56, 253);
     this.decimal_UpDown2.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown2.Name     = "decimal_UpDown2";
     this.decimal_UpDown2.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown2.TabIndex = 3;
     this.decimal_UpDown2.Value    = new System.Decimal(new int[] {
         80,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 229);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(16, 16);
     this.label1.TabIndex = 6;
     this.label1.Text     = "x:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(32, 253);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(16, 16);
     this.label2.TabIndex = 7;
     this.label2.Text     = "y:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(144, 229);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(40, 16);
     this.label3.TabIndex = 8;
     this.label3.Text     = "Width:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(144, 253);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(40, 16);
     this.label4.TabIndex = 9;
     this.label4.Text     = "Height:";
     //
     // groupBox1
     //
     this.groupBox1.Location = new System.Drawing.Point(16, 205);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(256, 78);
     this.groupBox1.TabIndex = 10;
     this.groupBox1.TabStop  = false;
     //
     // decimal_UpDown4
     //
     this.decimal_UpDown4.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown4.Location = new System.Drawing.Point(192, 253);
     this.decimal_UpDown4.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown4.Name     = "decimal_UpDown4";
     this.decimal_UpDown4.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown4.TabIndex = 5;
     this.decimal_UpDown4.Value    = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // decimal_UpDown3
     //
     this.decimal_UpDown3.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown3.Location = new System.Drawing.Point(192, 221);
     this.decimal_UpDown3.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown3.Name     = "decimal_UpDown3";
     this.decimal_UpDown3.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown3.TabIndex = 4;
     this.decimal_UpDown3.Value    = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(574, 296);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.decimal_UpDown4);
     this.Controls.Add(this.decimal_UpDown3);
     this.Controls.Add(this.decimal_UpDown2);
     this.Controls.Add(this.decimal_UpDown1);
     this.Controls.Add(this.drawing_Panel1);
     this.Controls.Add(this.property_Grid1);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Property Grid";
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown3)).EndInit();
     this.ResumeLayout(false);
 }
Пример #2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.property_Grid1 = new Salford.VisualClearWin.Property_Grid();
            this.int32_Box1     = new Salford.VisualClearWin.Int32_Box();
            this.double_Box1    = new Salford.VisualClearWin.Double_Box();
            this.label1         = new System.Windows.Forms.Label();
            this.label2         = new System.Windows.Forms.Label();
            this.text_Box1      = new Salford.VisualClearWin.Text_Box();
            this.label3         = new System.Windows.Forms.Label();
            this.label5         = new System.Windows.Forms.Label();
            this.int32_Box3     = new Salford.VisualClearWin.Int32_Box();
            this.groupBox1      = new System.Windows.Forms.GroupBox();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.check_Box1     = new Salford.VisualClearWin.Check_Box();
            this.label6         = new System.Windows.Forms.Label();
            this.text_Box2      = new Salford.VisualClearWin.Text_Box();
            this.int32_Box2     = new Salford.VisualClearWin.Int32_Box();
            this.int32_Box4     = new Salford.VisualClearWin.Int32_Box();
            this.label4         = new System.Windows.Forms.Label();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // property_Grid1
            //
            this.property_Grid1.CommandsVisibleIfAvailable = true;
            this.property_Grid1.GridAttributes             = new string[] {
                "Integer|System.Int32|Numbers|Help for integer",
                "Double|System.Double|Numbers|Help for double",
                "String|System.String|Attributes|Help for string",
                "Logical|System.Boolean|Attributes|Help for logical",
                "Colour|System.Drawing.Color|Attributes|Help for colour",
                "Font|System.Drawing.Font|Attributes|Help for font",
                "Point|System.Drawing.Point|Attributes|Help for point|10,20"
            };
            this.property_Grid1.LargeButtons  = false;
            this.property_Grid1.LineColor     = System.Drawing.SystemColors.ScrollBar;
            this.property_Grid1.Location      = new System.Drawing.Point(16, 16);
            this.property_Grid1.Name          = "property_Grid1";
            this.property_Grid1.Size          = new System.Drawing.Size(272, 264);
            this.property_Grid1.TabIndex      = 0;
            this.property_Grid1.Text          = "property_Grid1";
            this.property_Grid1.ViewBackColor = System.Drawing.SystemColors.Window;
            this.property_Grid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
            //
            // int32_Box1
            //
            this.int32_Box1.Location = new System.Drawing.Point(416, 64);
            this.int32_Box1.Maximum  = 2147483647;
            this.int32_Box1.Minimum  = -2147483648;
            this.int32_Box1.Name     = "int32_Box1";
            this.int32_Box1.Size     = new System.Drawing.Size(72, 20);
            this.int32_Box1.TabIndex = 1;
            this.int32_Box1.Text     = "";
            //
            // double_Box1
            //
            this.double_Box1.ExpFigs  = 2;
            this.double_Box1.Location = new System.Drawing.Point(416, 96);
//		  this.double_Box1.Maximum = 1E+60;
//		  this.double_Box1.Minimum = 1E+60;
            this.double_Box1.Name     = "double_Box1";
            this.double_Box1.Size     = new System.Drawing.Size(72, 20);
            this.double_Box1.TabIndex = 2;
            this.double_Box1.Text     = "0";
            //
            // label1
            //
            this.label1.Location = new System.Drawing.Point(352, 70);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(48, 14);
            this.label1.TabIndex = 3;
            this.label1.Text     = "Integer";
            //
            // label2
            //
            this.label2.Location = new System.Drawing.Point(352, 101);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(48, 14);
            this.label2.TabIndex = 4;
            this.label2.Text     = "Double";
            //
            // text_Box1
            //
            this.text_Box1.Location = new System.Drawing.Point(416, 128);
            this.text_Box1.Name     = "text_Box1";
            this.text_Box1.Size     = new System.Drawing.Size(112, 20);
            this.text_Box1.TabIndex = 5;
            this.text_Box1.Text     = "";
            //
            // label3
            //
            this.label3.Location = new System.Drawing.Point(352, 133);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(48, 14);
            this.label3.TabIndex = 6;
            this.label3.Text     = "String";
            //
            // label5
            //
            this.label5.Location = new System.Drawing.Point(352, 188);
            this.label5.Name     = "label5";
            this.label5.Size     = new System.Drawing.Size(48, 16);
            this.label5.TabIndex = 10;
            this.label5.Text     = "Colour";
            //
            // int32_Box3
            //
            this.int32_Box3.Digits   = 3;
            this.int32_Box3.Location = new System.Drawing.Point(464, 184);
            this.int32_Box3.Maximum  = 255;
            this.int32_Box3.Minimum  = -999;
            this.int32_Box3.Name     = "int32_Box3";
            this.int32_Box3.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box3.TabIndex = 9;
            this.int32_Box3.Text     = "255";
            this.int32_Box3.Value    = 255;
            //
            // groupBox1
            //
            this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBox1,
                this.check_Box1
            });
            this.groupBox1.Location = new System.Drawing.Point(336, 48);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(256, 232);
            this.groupBox1.TabIndex = 11;
            this.groupBox1.TabStop  = false;
            //
            // textBox1
            //
            this.textBox1.Enabled  = false;
            this.textBox1.Location = new System.Drawing.Point(80, 200);
            this.textBox1.Name     = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size     = new System.Drawing.Size(160, 20);
            this.textBox1.TabIndex = 1;
            this.textBox1.Text     = "";
            //
            // check_Box1
            //
            this.check_Box1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.check_Box1.Location   = new System.Drawing.Point(16, 112);
            this.check_Box1.Name       = "check_Box1";
            this.check_Box1.Size       = new System.Drawing.Size(78, 16);
            this.check_Box1.TabIndex   = 0;
            this.check_Box1.Text       = "Logical";
            //
            // label6
            //
            this.label6.Location = new System.Drawing.Point(352, 220);
            this.label6.Name     = "label6";
            this.label6.Size     = new System.Drawing.Size(48, 13);
            this.label6.TabIndex = 13;
            this.label6.Text     = "Font";
            //
            // text_Box2
            //
            this.text_Box2.Location = new System.Drawing.Point(416, 216);
            this.text_Box2.Name     = "text_Box2";
            this.text_Box2.Size     = new System.Drawing.Size(160, 20);
            this.text_Box2.TabIndex = 12;
            this.text_Box2.Text     = "";
            //
            // int32_Box2
            //
            this.int32_Box2.Digits   = 3;
            this.int32_Box2.Location = new System.Drawing.Point(416, 184);
            this.int32_Box2.Maximum  = 255;
            this.int32_Box2.Minimum  = -999;
            this.int32_Box2.Name     = "int32_Box2";
            this.int32_Box2.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box2.TabIndex = 14;
            this.int32_Box2.Text     = "0";
            //
            // int32_Box4
            //
            this.int32_Box4.Digits   = 3;
            this.int32_Box4.Location = new System.Drawing.Point(512, 184);
            this.int32_Box4.Maximum  = 255;
            this.int32_Box4.Minimum  = -999;
            this.int32_Box4.Name     = "int32_Box4";
            this.int32_Box4.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box4.TabIndex = 15;
            this.int32_Box4.Text     = "0";
            //
            // label4
            //
            this.label4.Location = new System.Drawing.Point(352, 252);
            this.label4.Name     = "label4";
            this.label4.Size     = new System.Drawing.Size(48, 13);
            this.label4.TabIndex = 16;
            this.label4.Text     = "Size";
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(618, 304);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.label4,
                this.int32_Box4,
                this.int32_Box2,
                this.label3,
                this.label6,
                this.text_Box2,
                this.label5,
                this.int32_Box3,
                this.text_Box1,
                this.label2,
                this.label1,
                this.double_Box1,
                this.int32_Box1,
                this.property_Grid1,
                this.groupBox1
            });
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "Form1";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text            = "Property Grid";
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
        }