387 lines
21 KiB
C#
387 lines
21 KiB
C#
namespace TestShapeControl
|
|
{
|
|
public partial class Form2
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox6 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox7 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox8 = new System.Windows.Forms.CheckBox();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.checkBox9 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox10 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox11 = new System.Windows.Forms.CheckBox();
|
|
this.checkBox12 = new System.Windows.Forms.CheckBox();
|
|
this.customControl14 = new ShapeControl.CustomControl1();
|
|
this.customControl13 = new ShapeControl.CustomControl1();
|
|
this.customControl12 = new ShapeControl.CustomControl1();
|
|
this.customControl11 = new ShapeControl.CustomControl1();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Location = new System.Drawing.Point(100, 521);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox1.TabIndex = 1;
|
|
this.checkBox1.Tag = "1";
|
|
this.checkBox1.Text = "cam1";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBoxB_CheckedChanged);
|
|
//
|
|
// checkBox2
|
|
//
|
|
this.checkBox2.AutoSize = true;
|
|
this.checkBox2.Location = new System.Drawing.Point(170, 521);
|
|
this.checkBox2.Name = "checkBox2";
|
|
this.checkBox2.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox2.TabIndex = 2;
|
|
this.checkBox2.Tag = "2";
|
|
this.checkBox2.Text = "cam2";
|
|
this.checkBox2.UseVisualStyleBackColor = true;
|
|
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBoxB_CheckedChanged);
|
|
//
|
|
// checkBox3
|
|
//
|
|
this.checkBox3.AutoSize = true;
|
|
this.checkBox3.Location = new System.Drawing.Point(100, 544);
|
|
this.checkBox3.Name = "checkBox3";
|
|
this.checkBox3.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox3.TabIndex = 3;
|
|
this.checkBox3.Tag = "3";
|
|
this.checkBox3.Text = "cam3";
|
|
this.checkBox3.UseVisualStyleBackColor = true;
|
|
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBoxB_CheckedChanged);
|
|
//
|
|
// checkBox4
|
|
//
|
|
this.checkBox4.AutoSize = true;
|
|
this.checkBox4.Location = new System.Drawing.Point(170, 544);
|
|
this.checkBox4.Name = "checkBox4";
|
|
this.checkBox4.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox4.TabIndex = 4;
|
|
this.checkBox4.Tag = "4";
|
|
this.checkBox4.Text = "cam4";
|
|
this.checkBox4.UseVisualStyleBackColor = true;
|
|
this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBoxB_CheckedChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(18, 521);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(75, 13);
|
|
this.label1.TabIndex = 5;
|
|
this.label1.Text = "Check to blink";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(242, 521);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(85, 13);
|
|
this.label2.TabIndex = 10;
|
|
this.label2.Text = "Check to vibrate";
|
|
//
|
|
// checkBox5
|
|
//
|
|
this.checkBox5.AutoSize = true;
|
|
this.checkBox5.Location = new System.Drawing.Point(400, 544);
|
|
this.checkBox5.Name = "checkBox5";
|
|
this.checkBox5.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox5.TabIndex = 9;
|
|
this.checkBox5.Tag = "4";
|
|
this.checkBox5.Text = "cam4";
|
|
this.checkBox5.UseVisualStyleBackColor = true;
|
|
this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBoxV_CheckedChanged);
|
|
//
|
|
// checkBox6
|
|
//
|
|
this.checkBox6.AutoSize = true;
|
|
this.checkBox6.Location = new System.Drawing.Point(330, 544);
|
|
this.checkBox6.Name = "checkBox6";
|
|
this.checkBox6.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox6.TabIndex = 8;
|
|
this.checkBox6.Tag = "3";
|
|
this.checkBox6.Text = "cam3";
|
|
this.checkBox6.UseVisualStyleBackColor = true;
|
|
this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBoxV_CheckedChanged);
|
|
//
|
|
// checkBox7
|
|
//
|
|
this.checkBox7.AutoSize = true;
|
|
this.checkBox7.Location = new System.Drawing.Point(400, 521);
|
|
this.checkBox7.Name = "checkBox7";
|
|
this.checkBox7.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox7.TabIndex = 7;
|
|
this.checkBox7.Tag = "2";
|
|
this.checkBox7.Text = "cam2";
|
|
this.checkBox7.UseVisualStyleBackColor = true;
|
|
this.checkBox7.CheckedChanged += new System.EventHandler(this.checkBoxV_CheckedChanged);
|
|
//
|
|
// checkBox8
|
|
//
|
|
this.checkBox8.AutoSize = true;
|
|
this.checkBox8.Location = new System.Drawing.Point(330, 521);
|
|
this.checkBox8.Name = "checkBox8";
|
|
this.checkBox8.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox8.TabIndex = 6;
|
|
this.checkBox8.Tag = "1";
|
|
this.checkBox8.Text = "cam1";
|
|
this.checkBox8.UseVisualStyleBackColor = true;
|
|
this.checkBox8.CheckedChanged += new System.EventHandler(this.checkBoxV_CheckedChanged);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackgroundImage = global::TestShapeControl.Properties.Resources.SIT_Redhill_Close_3_room_63sqm;
|
|
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.panel1.Controls.Add(this.customControl14);
|
|
this.panel1.Controls.Add(this.customControl13);
|
|
this.panel1.Controls.Add(this.customControl12);
|
|
this.panel1.Controls.Add(this.customControl11);
|
|
this.panel1.Location = new System.Drawing.Point(12, 12);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(707, 497);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(486, 521);
|
|
this.label3.MaximumSize = new System.Drawing.Size(90, 40);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(90, 26);
|
|
this.label3.TabIndex = 15;
|
|
this.label3.Text = "Check to animate border";
|
|
//
|
|
// checkBox9
|
|
//
|
|
this.checkBox9.AutoSize = true;
|
|
this.checkBox9.Location = new System.Drawing.Point(664, 544);
|
|
this.checkBox9.Name = "checkBox9";
|
|
this.checkBox9.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox9.TabIndex = 14;
|
|
this.checkBox9.Tag = "4";
|
|
this.checkBox9.Text = "cam4";
|
|
this.checkBox9.UseVisualStyleBackColor = true;
|
|
this.checkBox9.CheckedChanged += new System.EventHandler(this.checkBoxA_CheckedChanged);
|
|
//
|
|
// checkBox10
|
|
//
|
|
this.checkBox10.AutoSize = true;
|
|
this.checkBox10.Location = new System.Drawing.Point(594, 544);
|
|
this.checkBox10.Name = "checkBox10";
|
|
this.checkBox10.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox10.TabIndex = 13;
|
|
this.checkBox10.Tag = "3";
|
|
this.checkBox10.Text = "cam3";
|
|
this.checkBox10.UseVisualStyleBackColor = true;
|
|
this.checkBox10.CheckedChanged += new System.EventHandler(this.checkBoxA_CheckedChanged);
|
|
//
|
|
// checkBox11
|
|
//
|
|
this.checkBox11.AutoSize = true;
|
|
this.checkBox11.Location = new System.Drawing.Point(664, 521);
|
|
this.checkBox11.Name = "checkBox11";
|
|
this.checkBox11.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox11.TabIndex = 12;
|
|
this.checkBox11.Tag = "2";
|
|
this.checkBox11.Text = "cam2";
|
|
this.checkBox11.UseVisualStyleBackColor = true;
|
|
this.checkBox11.CheckedChanged += new System.EventHandler(this.checkBoxA_CheckedChanged);
|
|
//
|
|
// checkBox12
|
|
//
|
|
this.checkBox12.AutoSize = true;
|
|
this.checkBox12.Location = new System.Drawing.Point(594, 521);
|
|
this.checkBox12.Name = "checkBox12";
|
|
this.checkBox12.Size = new System.Drawing.Size(52, 17);
|
|
this.checkBox12.TabIndex = 11;
|
|
this.checkBox12.Tag = "1";
|
|
this.checkBox12.Text = "cam1";
|
|
this.checkBox12.UseVisualStyleBackColor = true;
|
|
this.checkBox12.CheckedChanged += new System.EventHandler(this.checkBoxA_CheckedChanged);
|
|
//
|
|
// customControl14
|
|
//
|
|
this.customControl14.AnimateBorder = false;
|
|
this.customControl14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl14.Blink = false;
|
|
this.customControl14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl14.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|
this.customControl14.BorderWidth = 2;
|
|
this.customControl14.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl14.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.customControl14.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.customControl14.Location = new System.Drawing.Point(526, 404);
|
|
this.customControl14.Name = "customControl14";
|
|
this.customControl14.Shape = ShapeControl.ShapeType.Ellipse;
|
|
this.customControl14.ShapeImage = null;
|
|
this.customControl14.Size = new System.Drawing.Size(33, 32);
|
|
this.customControl14.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl14.TabIndex = 3;
|
|
this.customControl14.Tag2 = "";
|
|
this.customControl14.Text = "cam4";
|
|
this.customControl14.UseGradient = false;
|
|
this.customControl14.Vibrate = false;
|
|
//
|
|
// customControl13
|
|
//
|
|
this.customControl13.AnimateBorder = false;
|
|
this.customControl13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.customControl13.Blink = false;
|
|
this.customControl13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
|
this.customControl13.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|
this.customControl13.BorderWidth = 2;
|
|
this.customControl13.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl13.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.customControl13.ForeColor = System.Drawing.Color.Yellow;
|
|
this.customControl13.Location = new System.Drawing.Point(329, 404);
|
|
this.customControl13.Name = "customControl13";
|
|
this.customControl13.Shape = ShapeControl.ShapeType.Ellipse;
|
|
this.customControl13.ShapeImage = ((System.Drawing.Image)(resources.GetObject("customControl13.ShapeImage")));
|
|
this.customControl13.Size = new System.Drawing.Size(52, 51);
|
|
this.customControl13.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl13.TabIndex = 2;
|
|
this.customControl13.Tag2 = "";
|
|
this.customControl13.Text = "cam3";
|
|
this.customControl13.UseGradient = false;
|
|
this.customControl13.Vibrate = false;
|
|
//
|
|
// customControl12
|
|
//
|
|
this.customControl12.AnimateBorder = false;
|
|
this.customControl12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
|
this.customControl12.Blink = false;
|
|
this.customControl12.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.customControl12.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|
this.customControl12.BorderWidth = 2;
|
|
this.customControl12.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl12.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.customControl12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl12.Location = new System.Drawing.Point(517, 205);
|
|
this.customControl12.Name = "customControl12";
|
|
this.customControl12.Shape = ShapeControl.ShapeType.Ellipse;
|
|
this.customControl12.ShapeImage = ((System.Drawing.Image)(resources.GetObject("customControl12.ShapeImage")));
|
|
this.customControl12.Size = new System.Drawing.Size(42, 39);
|
|
this.customControl12.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl12.TabIndex = 2;
|
|
this.customControl12.Tag2 = "";
|
|
this.customControl12.Text = "cam2";
|
|
this.customControl12.UseGradient = false;
|
|
this.customControl12.Vibrate = false;
|
|
//
|
|
// customControl11
|
|
//
|
|
this.customControl11.AnimateBorder = false;
|
|
this.customControl11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl11.Blink = false;
|
|
this.customControl11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl11.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|
this.customControl11.BorderWidth = 2;
|
|
this.customControl11.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.customControl11.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.customControl11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl11.Location = new System.Drawing.Point(277, 219);
|
|
this.customControl11.Name = "customControl11";
|
|
this.customControl11.Shape = ShapeControl.ShapeType.Ellipse;
|
|
this.customControl11.ShapeImage = ((System.Drawing.Image)(resources.GetObject("customControl11.ShapeImage")));
|
|
this.customControl11.Size = new System.Drawing.Size(65, 44);
|
|
this.customControl11.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.customControl11.TabIndex = 0;
|
|
this.customControl11.Tag2 = "";
|
|
this.customControl11.Text = " cam1";
|
|
this.customControl11.UseGradient = false;
|
|
this.customControl11.Vibrate = false;
|
|
//
|
|
// Form2
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.ClientSize = new System.Drawing.Size(742, 578);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.checkBox9);
|
|
this.Controls.Add(this.checkBox10);
|
|
this.Controls.Add(this.checkBox11);
|
|
this.Controls.Add(this.checkBox12);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.checkBox5);
|
|
this.Controls.Add(this.checkBox6);
|
|
this.Controls.Add(this.checkBox7);
|
|
this.Controls.Add(this.checkBox8);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.checkBox4);
|
|
this.Controls.Add(this.checkBox3);
|
|
this.Controls.Add(this.checkBox2);
|
|
this.Controls.Add(this.checkBox1);
|
|
this.Controls.Add(this.panel1);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "Form2";
|
|
this.Text = "Test Blinking and Vibrating";
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private ShapeControl.CustomControl1 customControl12;
|
|
private ShapeControl.CustomControl1 customControl11;
|
|
private ShapeControl.CustomControl1 customControl13;
|
|
private ShapeControl.CustomControl1 customControl14;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
private System.Windows.Forms.CheckBox checkBox2;
|
|
private System.Windows.Forms.CheckBox checkBox3;
|
|
private System.Windows.Forms.CheckBox checkBox4;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.CheckBox checkBox5;
|
|
private System.Windows.Forms.CheckBox checkBox6;
|
|
private System.Windows.Forms.CheckBox checkBox7;
|
|
private System.Windows.Forms.CheckBox checkBox8;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.CheckBox checkBox9;
|
|
private System.Windows.Forms.CheckBox checkBox10;
|
|
private System.Windows.Forms.CheckBox checkBox11;
|
|
private System.Windows.Forms.CheckBox checkBox12;
|
|
}
|
|
} |