Пример #1
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.bit7 = new ByteStatusBit();
     this.bit4 = new ByteStatusBit();
     this.bit3 = new ByteStatusBit();
     this.bit2 = new ByteStatusBit();
     this.bit6 = new ByteStatusBit();
     this.bit1 = new ByteStatusBit();
     this.bit5 = new ByteStatusBit();
     this.bit0 = new ByteStatusBit();
     this.ttpToolTip = new ToolTip(this.components);
     base.SuspendLayout();
     this.bit7.BackColor = SystemColors.ControlDark;
     this.bit7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit7.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit7.Immutable = false;
     this.bit7.Location = new Point(0, 0);
     this.bit7.Margin = new Padding(1, 0, 1, 0);
     this.bit7.Name = "bit7";
     this.bit7.Size = new Size(0x26, 0x11);
     this.bit7.TabIndex = 0x76;
     this.bit7.Text = "- - -";
     this.bit7.TextAlign = ContentAlignment.MiddleCenter;
     this.bit7.Click += new EventHandler(this.lblStatus_Click);
     this.bit4.BackColor = SystemColors.ControlDark;
     this.bit4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit4.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit4.Immutable = false;
     this.bit4.Location = new Point(120, 0);
     this.bit4.Margin = new Padding(1, 0, 1, 0);
     this.bit4.Name = "bit4";
     this.bit4.Size = new Size(0x26, 0x11);
     this.bit4.TabIndex = 0x75;
     this.bit4.Text = "- - -";
     this.bit4.TextAlign = ContentAlignment.MiddleCenter;
     this.bit4.Click += new EventHandler(this.lblStatus_Click);
     this.bit3.BackColor = SystemColors.ControlDark;
     this.bit3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit3.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit3.Immutable = false;
     this.bit3.Location = new Point(160, 0);
     this.bit3.Margin = new Padding(1, 0, 1, 0);
     this.bit3.Name = "bit3";
     this.bit3.Size = new Size(0x26, 0x11);
     this.bit3.TabIndex = 0x74;
     this.bit3.Text = "- - -";
     this.bit3.TextAlign = ContentAlignment.MiddleCenter;
     this.bit3.Click += new EventHandler(this.lblStatus_Click);
     this.bit2.BackColor = SystemColors.ControlDark;
     this.bit2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit2.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit2.Immutable = false;
     this.bit2.Location = new Point(200, 0);
     this.bit2.Margin = new Padding(1, 0, 1, 0);
     this.bit2.Name = "bit2";
     this.bit2.Size = new Size(0x26, 0x11);
     this.bit2.TabIndex = 0x73;
     this.bit2.Text = "- - -";
     this.bit2.TextAlign = ContentAlignment.MiddleCenter;
     this.bit2.Click += new EventHandler(this.lblStatus_Click);
     this.bit6.BackColor = SystemColors.ControlDark;
     this.bit6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit6.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit6.Immutable = false;
     this.bit6.Location = new Point(40, 0);
     this.bit6.Margin = new Padding(1, 0, 1, 0);
     this.bit6.Name = "bit6";
     this.bit6.Size = new Size(0x26, 0x11);
     this.bit6.TabIndex = 0x6f;
     this.bit6.Text = "- - -";
     this.bit6.TextAlign = ContentAlignment.MiddleCenter;
     this.bit6.Click += new EventHandler(this.lblStatus_Click);
     this.bit1.BackColor = SystemColors.ControlDark;
     this.bit1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit1.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit1.Immutable = false;
     this.bit1.Location = new Point(240, 0);
     this.bit1.Margin = new Padding(1, 0, 1, 0);
     this.bit1.Name = "bit1";
     this.bit1.Size = new Size(0x26, 0x11);
     this.bit1.TabIndex = 0x72;
     this.bit1.Text = "- - -";
     this.bit1.TextAlign = ContentAlignment.MiddleCenter;
     this.bit1.Click += new EventHandler(this.lblStatus_Click);
     this.bit5.BackColor = SystemColors.ControlDark;
     this.bit5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit5.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit5.Immutable = false;
     this.bit5.Location = new Point(80, 0);
     this.bit5.Margin = new Padding(1, 0, 1, 0);
     this.bit5.Name = "bit5";
     this.bit5.Size = new Size(0x26, 0x11);
     this.bit5.TabIndex = 0x70;
     this.bit5.Text = "- - -";
     this.bit5.TextAlign = ContentAlignment.MiddleCenter;
     this.bit5.Click += new EventHandler(this.lblStatus_Click);
     this.bit0.BackColor = SystemColors.ControlDark;
     this.bit0.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit0.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
     this.bit0.Immutable = false;
     this.bit0.Location = new Point(280, 0);
     this.bit0.Margin = new Padding(1, 0, 1, 0);
     this.bit0.Name = "bit0";
     this.bit0.Size = new Size(0x26, 0x11);
     this.bit0.TabIndex = 0x71;
     this.bit0.Text = "- - -";
     this.bit0.TextAlign = ContentAlignment.MiddleCenter;
     this.bit0.Click += new EventHandler(this.lblStatus_Click);
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.bit7);
     base.Controls.Add(this.bit4);
     base.Controls.Add(this.bit3);
     base.Controls.Add(this.bit2);
     base.Controls.Add(this.bit6);
     base.Controls.Add(this.bit1);
     base.Controls.Add(this.bit5);
     base.Controls.Add(this.bit0);
     base.Name = "ByteStatus";
     base.Size = new Size(0x13c, 14);
     base.MouseLeave += new EventHandler(this.ByteStatus_MouseLeave);
     base.MouseMove += new MouseEventHandler(this.ByteStatus_MouseMove);
     base.ResumeLayout(false);
 }
Пример #2
0
 private void InitializeComponent()
 {
     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.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.lblNote = new System.Windows.Forms.Label();
     this.byteStatusBit1 = new NewWDS.ByteStatusBit();
     this.byteStatusBit2 = new NewWDS.ByteStatusBit();
     this.bit7 = new NewWDS.ByteStatusBit();
     this.bit4 = new NewWDS.ByteStatusBit();
     this.bit6 = new NewWDS.ByteStatusBit();
     this.bit5 = new NewWDS.ByteStatusBit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(43, 1);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(97, 13);
     this.label1.TabIndex = 127;
     this.label1.Text = "Unused status field";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(43, 18);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(142, 13);
     this.label2.TabIndex = 128;
     this.label2.Text = "Enabled, user set status field";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(43, 35);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(144, 13);
     this.label3.TabIndex = 129;
     this.label3.Text = "Disabled, user set status field";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(235, 0);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(84, 13);
     this.label4.TabIndex = 130;
     this.label4.Text = "Clear status field";
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(235, 35);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(197, 13);
     this.label9.TabIndex = 138;
     this.label9.Text = "Disabled, project required set status field";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(235, 18);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(195, 13);
     this.label10.TabIndex = 137;
     this.label10.Text = "Enabled, project required set status field";
     //
     // lblNote
     //
     this.lblNote.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
     this.lblNote.Location = new System.Drawing.Point(4, 54);
     this.lblNote.Name = "lblNote";
     this.lblNote.Size = new System.Drawing.Size(398, 34);
     this.lblNote.TabIndex = 139;
     this.lblNote.Text = "Note: Interrupts in red are required by the selected project, and should be activ" +
     "e for proper operation of the source code.";
     this.lblNote.Visible = false;
     //
     // byteStatusBit1
     //
     this.byteStatusBit1.BackColor = System.Drawing.Color.Gold;
     this.byteStatusBit1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.byteStatusBit1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.byteStatusBit1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.byteStatusBit1.Immutable = false;
     this.byteStatusBit1.Location = new System.Drawing.Point(193, 17);
     this.byteStatusBit1.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.byteStatusBit1.Name = "byteStatusBit1";
     this.byteStatusBit1.Size = new System.Drawing.Size(38, 17);
     this.byteStatusBit1.TabIndex = 135;
     this.byteStatusBit1.Text = "STBIT";
     this.byteStatusBit1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // byteStatusBit2
     //
     this.byteStatusBit2.BackColor = System.Drawing.Color.LightGoldenrodYellow;
     this.byteStatusBit2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.byteStatusBit2.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.byteStatusBit2.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
     this.byteStatusBit2.Immutable = false;
     this.byteStatusBit2.Location = new System.Drawing.Point(193, 34);
     this.byteStatusBit2.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.byteStatusBit2.Name = "byteStatusBit2";
     this.byteStatusBit2.Size = new System.Drawing.Size(38, 17);
     this.byteStatusBit2.TabIndex = 136;
     this.byteStatusBit2.Text = "STBIT";
     this.byteStatusBit2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bit7
     //
     this.bit7.BackColor = System.Drawing.SystemColors.ControlDark;
     this.bit7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit7.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.bit7.Immutable = false;
     this.bit7.Location = new System.Drawing.Point(1, 0);
     this.bit7.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.bit7.Name = "bit7";
     this.bit7.Size = new System.Drawing.Size(38, 17);
     this.bit7.TabIndex = 126;
     this.bit7.Text = "- - -";
     this.bit7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bit4
     //
     this.bit4.BackColor = System.Drawing.Color.WhiteSmoke;
     this.bit4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.bit4.Immutable = false;
     this.bit4.Location = new System.Drawing.Point(193, 0);
     this.bit4.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.bit4.Name = "bit4";
     this.bit4.Size = new System.Drawing.Size(38, 17);
     this.bit4.TabIndex = 125;
     this.bit4.Text = "STBIT";
     this.bit4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bit6
     //
     this.bit6.BackColor = System.Drawing.Color.Orange;
     this.bit6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.bit6.Immutable = false;
     this.bit6.Location = new System.Drawing.Point(1, 17);
     this.bit6.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.bit6.Name = "bit6";
     this.bit6.Size = new System.Drawing.Size(38, 17);
     this.bit6.TabIndex = 119;
     this.bit6.Text = "STBIT";
     this.bit6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bit5
     //
     this.bit5.BackColor = System.Drawing.Color.NavajoWhite;
     this.bit5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.bit5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this.bit5.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
     this.bit5.Immutable = false;
     this.bit5.Location = new System.Drawing.Point(1, 34);
     this.bit5.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.bit5.Name = "bit5";
     this.bit5.Size = new System.Drawing.Size(38, 17);
     this.bit5.TabIndex = 120;
     this.bit5.Text = "STBIT";
     this.bit5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ByteStatusColorHelp
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.lblNote);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.byteStatusBit1);
     this.Controls.Add(this.byteStatusBit2);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.bit7);
     this.Controls.Add(this.bit4);
     this.Controls.Add(this.bit6);
     this.Controls.Add(this.bit5);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.Name = "ByteStatusColorHelp";
     this.Size = new System.Drawing.Size(440, 88);
     this.ResumeLayout(false);
 }