123 lines
6.3 KiB
C#
123 lines
6.3 KiB
C#
|
|
namespace TestShapeControl
|
|||
|
|
{
|
|||
|
|
partial class Form5
|
|||
|
|
{
|
|||
|
|
/// <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(Form5));
|
|||
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|||
|
|
this.ctrl1 = new ShapeControl.CustomControl1();
|
|||
|
|
this.ctrlPlane = new ShapeControl.CustomControl1();
|
|||
|
|
this.panel1.SuspendLayout();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// panel1
|
|||
|
|
//
|
|||
|
|
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|||
|
|
this.panel1.Controls.Add(this.ctrl1);
|
|||
|
|
this.panel1.Controls.Add(this.ctrlPlane);
|
|||
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|||
|
|
this.panel1.Name = "panel1";
|
|||
|
|
this.panel1.Size = new System.Drawing.Size(642, 403);
|
|||
|
|
this.panel1.TabIndex = 2;
|
|||
|
|
//
|
|||
|
|
// ctrl1
|
|||
|
|
//
|
|||
|
|
this.ctrl1.AnimateBorder = false;
|
|||
|
|
this.ctrl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrl1.Blink = false;
|
|||
|
|
this.ctrl1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrl1.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|||
|
|
this.ctrl1.BorderWidth = 2;
|
|||
|
|
this.ctrl1.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrl1.Connector = ShapeControl.ConnecterType.Center;
|
|||
|
|
this.ctrl1.Direction = ShapeControl.LineDirection.None;
|
|||
|
|
this.ctrl1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
|||
|
|
this.ctrl1.Location = new System.Drawing.Point(93, 96);
|
|||
|
|
this.ctrl1.Name = "ctrl1";
|
|||
|
|
this.ctrl1.Shape = ShapeControl.ShapeType.Ellipse;
|
|||
|
|
this.ctrl1.ShapeImage = null;
|
|||
|
|
this.ctrl1.ShapeImageRotation = 0;
|
|||
|
|
this.ctrl1.ShapeImageTexture = null;
|
|||
|
|
this.ctrl1.Size = new System.Drawing.Size(20, 20);
|
|||
|
|
this.ctrl1.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrl1.TabIndex = 0;
|
|||
|
|
this.ctrl1.Tag2 = "";
|
|||
|
|
this.ctrl1.UseGradient = false;
|
|||
|
|
this.ctrl1.Vibrate = false;
|
|||
|
|
this.ctrl1.DoubleClick += new System.EventHandler(this.ctrl1_DoubleClick);
|
|||
|
|
this.ctrl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ctrl1_MouseDown);
|
|||
|
|
this.ctrl1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ctrl1_MouseMove);
|
|||
|
|
//
|
|||
|
|
// ctrlPlane
|
|||
|
|
//
|
|||
|
|
this.ctrlPlane.AnimateBorder = false;
|
|||
|
|
this.ctrlPlane.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrlPlane.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ctrlPlane.BackgroundImage")));
|
|||
|
|
this.ctrlPlane.Blink = false;
|
|||
|
|
this.ctrlPlane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrlPlane.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|||
|
|
this.ctrlPlane.BorderWidth = 3;
|
|||
|
|
this.ctrlPlane.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrlPlane.Connector = ShapeControl.ConnecterType.Center;
|
|||
|
|
this.ctrlPlane.Direction = ShapeControl.LineDirection.None;
|
|||
|
|
this.ctrlPlane.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
|||
|
|
this.ctrlPlane.Location = new System.Drawing.Point(33, 35);
|
|||
|
|
this.ctrlPlane.Name = "ctrlPlane";
|
|||
|
|
this.ctrlPlane.Shape = ShapeControl.ShapeType.Rectangle;
|
|||
|
|
this.ctrlPlane.ShapeImage = ((System.Drawing.Image)(resources.GetObject("ctrlPlane.ShapeImage")));
|
|||
|
|
this.ctrlPlane.ShapeImageRotation = 0;
|
|||
|
|
this.ctrlPlane.ShapeImageTexture = ((System.Drawing.Image)(resources.GetObject("ctrlPlane.ShapeImageTexture")));
|
|||
|
|
this.ctrlPlane.Size = new System.Drawing.Size(152, 156);
|
|||
|
|
this.ctrlPlane.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrlPlane.TabIndex = 1;
|
|||
|
|
this.ctrlPlane.Tag2 = "";
|
|||
|
|
this.ctrlPlane.UseGradient = false;
|
|||
|
|
this.ctrlPlane.Vibrate = false;
|
|||
|
|
//
|
|||
|
|
// Form5
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(870, 605);
|
|||
|
|
this.Controls.Add(this.panel1);
|
|||
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|||
|
|
this.Name = "Form5";
|
|||
|
|
this.Text = "Fly with me";
|
|||
|
|
this.Load += new System.EventHandler(this.Form5_Load);
|
|||
|
|
this.panel1.ResumeLayout(false);
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private ShapeControl.CustomControl1 ctrl1;
|
|||
|
|
private ShapeControl.CustomControl1 ctrlPlane;
|
|||
|
|
private System.Windows.Forms.Panel panel1;
|
|||
|
|
}
|
|||
|
|
}
|