199 lines
11 KiB
C#
199 lines
11 KiB
C#
|
|
namespace TestShapeControl
|
|||
|
|
{
|
|||
|
|
partial class Form7
|
|||
|
|
{
|
|||
|
|
/// <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(Form7));
|
|||
|
|
this.cmdLoad = new System.Windows.Forms.Button();
|
|||
|
|
this.cmdSave = new System.Windows.Forms.Button();
|
|||
|
|
this.cmdSave2 = new System.Windows.Forms.Button();
|
|||
|
|
this.cmdLoad2 = new System.Windows.Forms.Button();
|
|||
|
|
this.customControl11 = new ShapeControl.CustomControl1();
|
|||
|
|
this.ctrl1 = new ShapeControl.CustomControl1();
|
|||
|
|
this.ctrlarrow1 = new ShapeControl.CustomControl1();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// cmdLoad
|
|||
|
|
//
|
|||
|
|
this.cmdLoad.Location = new System.Drawing.Point(382, 311);
|
|||
|
|
this.cmdLoad.Name = "cmdLoad";
|
|||
|
|
this.cmdLoad.Size = new System.Drawing.Size(109, 34);
|
|||
|
|
this.cmdLoad.TabIndex = 1;
|
|||
|
|
this.cmdLoad.Text = "4. Load from mytestarrow";
|
|||
|
|
this.cmdLoad.UseVisualStyleBackColor = true;
|
|||
|
|
this.cmdLoad.Click += new System.EventHandler(this.cmdLoad_Click);
|
|||
|
|
//
|
|||
|
|
// cmdSave
|
|||
|
|
//
|
|||
|
|
this.cmdSave.Location = new System.Drawing.Point(56, 256);
|
|||
|
|
this.cmdSave.Name = "cmdSave";
|
|||
|
|
this.cmdSave.Size = new System.Drawing.Size(108, 34);
|
|||
|
|
this.cmdSave.TabIndex = 3;
|
|||
|
|
this.cmdSave.Text = "1. Save to mytestarrow";
|
|||
|
|
this.cmdSave.UseVisualStyleBackColor = true;
|
|||
|
|
this.cmdSave.Click += new System.EventHandler(this.cmdSave_Click);
|
|||
|
|
//
|
|||
|
|
// cmdSave2
|
|||
|
|
//
|
|||
|
|
this.cmdSave2.Location = new System.Drawing.Point(382, 256);
|
|||
|
|
this.cmdSave2.Name = "cmdSave2";
|
|||
|
|
this.cmdSave2.Size = new System.Drawing.Size(109, 34);
|
|||
|
|
this.cmdSave2.TabIndex = 4;
|
|||
|
|
this.cmdSave2.Text = "2. Save to mytestplane";
|
|||
|
|
this.cmdSave2.UseVisualStyleBackColor = true;
|
|||
|
|
this.cmdSave2.Click += new System.EventHandler(this.cmdSave2_Click);
|
|||
|
|
//
|
|||
|
|
// cmdLoad2
|
|||
|
|
//
|
|||
|
|
this.cmdLoad2.Location = new System.Drawing.Point(56, 311);
|
|||
|
|
this.cmdLoad2.Name = "cmdLoad2";
|
|||
|
|
this.cmdLoad2.Size = new System.Drawing.Size(108, 34);
|
|||
|
|
this.cmdLoad2.TabIndex = 5;
|
|||
|
|
this.cmdLoad2.Text = "3. Load from mytestplane";
|
|||
|
|
this.cmdLoad2.UseVisualStyleBackColor = true;
|
|||
|
|
this.cmdLoad2.Click += new System.EventHandler(this.cmdLoad2_Click);
|
|||
|
|
//
|
|||
|
|
// customControl11
|
|||
|
|
//
|
|||
|
|
this.customControl11.AnimateBorder = false;
|
|||
|
|
this.customControl11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.customControl11.Blink = false;
|
|||
|
|
this.customControl11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.customControl11.BorderStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
|||
|
|
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.Connector = ShapeControl.ConnecterType.Center;
|
|||
|
|
this.customControl11.Direction = ShapeControl.LineDirection.None;
|
|||
|
|
this.customControl11.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
|||
|
|
this.customControl11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.customControl11.Location = new System.Drawing.Point(270, 0);
|
|||
|
|
this.customControl11.Name = "customControl11";
|
|||
|
|
this.customControl11.Shape = ShapeControl.ShapeType.LineVertical;
|
|||
|
|
this.customControl11.ShapeImage = null;
|
|||
|
|
this.customControl11.ShapeImageRotation = 0;
|
|||
|
|
this.customControl11.ShapeImageTexture = null;
|
|||
|
|
this.customControl11.ShapeStorageLoadFile = "";
|
|||
|
|
this.customControl11.ShapeStorageSaveFile = "";
|
|||
|
|
this.customControl11.Size = new System.Drawing.Size(20, 367);
|
|||
|
|
this.customControl11.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.customControl11.TabIndex = 6;
|
|||
|
|
this.customControl11.Tag2 = "";
|
|||
|
|
this.customControl11.Text = "customControl11";
|
|||
|
|
this.customControl11.UseGradient = false;
|
|||
|
|
this.customControl11.Vibrate = false;
|
|||
|
|
//
|
|||
|
|
// ctrl1
|
|||
|
|
//
|
|||
|
|
this.ctrl1.AnimateBorder = false;
|
|||
|
|
this.ctrl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrl1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ctrl1.BackgroundImage")));
|
|||
|
|
this.ctrl1.Blink = false;
|
|||
|
|
this.ctrl1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrl1.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|||
|
|
this.ctrl1.BorderWidth = 3;
|
|||
|
|
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.ForeColor = System.Drawing.Color.OrangeRed;
|
|||
|
|
this.ctrl1.Location = new System.Drawing.Point(336, 36);
|
|||
|
|
this.ctrl1.Name = "ctrl1";
|
|||
|
|
this.ctrl1.Shape = ShapeControl.ShapeType.Rectangle;
|
|||
|
|
this.ctrl1.ShapeImage = ((System.Drawing.Image)(resources.GetObject("ctrl1.ShapeImage")));
|
|||
|
|
this.ctrl1.ShapeImageRotation = 10;
|
|||
|
|
this.ctrl1.ShapeImageTexture = ((System.Drawing.Image)(resources.GetObject("ctrl1.ShapeImageTexture")));
|
|||
|
|
this.ctrl1.ShapeStorageLoadFile = "";
|
|||
|
|
this.ctrl1.ShapeStorageSaveFile = "";
|
|||
|
|
this.ctrl1.Size = new System.Drawing.Size(192, 159);
|
|||
|
|
this.ctrl1.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrl1.TabIndex = 2;
|
|||
|
|
this.ctrl1.Tag2 = "";
|
|||
|
|
this.ctrl1.UseGradient = false;
|
|||
|
|
this.ctrl1.Vibrate = false;
|
|||
|
|
//
|
|||
|
|
// ctrlarrow1
|
|||
|
|
//
|
|||
|
|
this.ctrlarrow1.AnimateBorder = false;
|
|||
|
|
this.ctrlarrow1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrlarrow1.Blink = false;
|
|||
|
|
this.ctrlarrow1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrlarrow1.BorderStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
|
|||
|
|
this.ctrlarrow1.BorderWidth = 10;
|
|||
|
|
this.ctrlarrow1.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
|
this.ctrlarrow1.Connector = ShapeControl.ConnecterType.Center;
|
|||
|
|
this.ctrlarrow1.Direction = ShapeControl.LineDirection.RightUp;
|
|||
|
|
this.ctrlarrow1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
|||
|
|
this.ctrlarrow1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrlarrow1.Location = new System.Drawing.Point(56, 36);
|
|||
|
|
this.ctrlarrow1.Name = "ctrlarrow1";
|
|||
|
|
this.ctrlarrow1.Shape = ShapeControl.ShapeType.LineUp;
|
|||
|
|
this.ctrlarrow1.ShapeImage = null;
|
|||
|
|
this.ctrlarrow1.ShapeImageRotation = 0;
|
|||
|
|
this.ctrlarrow1.ShapeImageTexture = null;
|
|||
|
|
this.ctrlarrow1.ShapeStorageLoadFile = "";
|
|||
|
|
this.ctrlarrow1.ShapeStorageSaveFile = "";
|
|||
|
|
this.ctrlarrow1.Size = new System.Drawing.Size(147, 148);
|
|||
|
|
this.ctrlarrow1.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
|
this.ctrlarrow1.TabIndex = 0;
|
|||
|
|
this.ctrlarrow1.Tag2 = "";
|
|||
|
|
this.ctrlarrow1.Text = "testing 123";
|
|||
|
|
this.ctrlarrow1.UseGradient = true;
|
|||
|
|
this.ctrlarrow1.Vibrate = false;
|
|||
|
|
//
|
|||
|
|
// Form7
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(574, 365);
|
|||
|
|
this.Controls.Add(this.customControl11);
|
|||
|
|
this.Controls.Add(this.cmdLoad2);
|
|||
|
|
this.Controls.Add(this.cmdSave2);
|
|||
|
|
this.Controls.Add(this.cmdSave);
|
|||
|
|
this.Controls.Add(this.ctrl1);
|
|||
|
|
this.Controls.Add(this.cmdLoad);
|
|||
|
|
this.Controls.Add(this.ctrlarrow1);
|
|||
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|||
|
|
this.Name = "Form7";
|
|||
|
|
this.Text = "Save and Load Shapes";
|
|||
|
|
this.Load += new System.EventHandler(this.Form7_Load);
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private ShapeControl.CustomControl1 ctrlarrow1;
|
|||
|
|
private System.Windows.Forms.Button cmdLoad;
|
|||
|
|
private ShapeControl.CustomControl1 ctrl1;
|
|||
|
|
private System.Windows.Forms.Button cmdSave;
|
|||
|
|
private System.Windows.Forms.Button cmdSave2;
|
|||
|
|
private System.Windows.Forms.Button cmdLoad2;
|
|||
|
|
private ShapeControl.CustomControl1 customControl11;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|