169 lines
9.4 KiB
C#
169 lines
9.4 KiB
C#
namespace TestShapeControl
|
|
{
|
|
partial class Form6
|
|
{
|
|
/// <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(Form6));
|
|
this.radioButtonNone = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonBG = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonTexture = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonCustomTexture = new System.Windows.Forms.RadioButton();
|
|
this.ctrlPlane = new ShapeControl.CustomControl1();
|
|
this.ctrlButterfly = new ShapeControl.CustomControl1();
|
|
this.SuspendLayout();
|
|
//
|
|
// radioButtonNone
|
|
//
|
|
this.radioButtonNone.AutoSize = true;
|
|
this.radioButtonNone.Location = new System.Drawing.Point(173, 243);
|
|
this.radioButtonNone.Name = "radioButtonNone";
|
|
this.radioButtonNone.Size = new System.Drawing.Size(51, 17);
|
|
this.radioButtonNone.TabIndex = 2;
|
|
this.radioButtonNone.Text = "None";
|
|
this.radioButtonNone.UseVisualStyleBackColor = true;
|
|
this.radioButtonNone.CheckedChanged += new System.EventHandler(this.radioButtonCheckedChanged);
|
|
//
|
|
// radioButtonBG
|
|
//
|
|
this.radioButtonBG.AutoSize = true;
|
|
this.radioButtonBG.Location = new System.Drawing.Point(173, 266);
|
|
this.radioButtonBG.Name = "radioButtonBG";
|
|
this.radioButtonBG.Size = new System.Drawing.Size(115, 17);
|
|
this.radioButtonBG.TabIndex = 3;
|
|
this.radioButtonBG.Text = "Background Image";
|
|
this.radioButtonBG.UseVisualStyleBackColor = true;
|
|
this.radioButtonBG.CheckedChanged += new System.EventHandler(this.radioButtonCheckedChanged);
|
|
//
|
|
// radioButtonTexture
|
|
//
|
|
this.radioButtonTexture.AutoSize = true;
|
|
this.radioButtonTexture.Location = new System.Drawing.Point(173, 289);
|
|
this.radioButtonTexture.Name = "radioButtonTexture";
|
|
this.radioButtonTexture.Size = new System.Drawing.Size(101, 17);
|
|
this.radioButtonTexture.TabIndex = 4;
|
|
this.radioButtonTexture.Text = "Generic Texture";
|
|
this.radioButtonTexture.UseVisualStyleBackColor = true;
|
|
this.radioButtonTexture.CheckedChanged += new System.EventHandler(this.radioButtonCheckedChanged);
|
|
//
|
|
// radioButtonCustomTexture
|
|
//
|
|
this.radioButtonCustomTexture.AutoSize = true;
|
|
this.radioButtonCustomTexture.Checked = true;
|
|
this.radioButtonCustomTexture.Location = new System.Drawing.Point(173, 312);
|
|
this.radioButtonCustomTexture.Name = "radioButtonCustomTexture";
|
|
this.radioButtonCustomTexture.Size = new System.Drawing.Size(99, 17);
|
|
this.radioButtonCustomTexture.TabIndex = 5;
|
|
this.radioButtonCustomTexture.TabStop = true;
|
|
this.radioButtonCustomTexture.Text = "Custom Texture";
|
|
this.radioButtonCustomTexture.UseVisualStyleBackColor = true;
|
|
this.radioButtonCustomTexture.CheckedChanged += new System.EventHandler(this.radioButtonCheckedChanged);
|
|
//
|
|
// ctrlPlane
|
|
//
|
|
this.ctrlPlane.AnimateBorder = false;
|
|
this.ctrlPlane.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
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)(100)))), ((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(210, 48);
|
|
this.ctrlPlane.Name = "ctrlPlane";
|
|
this.ctrlPlane.Shape = ShapeControl.ShapeType.Rectangle;
|
|
this.ctrlPlane.ShapeImage = ((System.Drawing.Image)(resources.GetObject("ctrlPlane.ShapeImage")));
|
|
this.ctrlPlane.ShapeImageRotation = -20;
|
|
this.ctrlPlane.ShapeImageTexture = ((System.Drawing.Image)(resources.GetObject("ctrlPlane.ShapeImageTexture")));
|
|
this.ctrlPlane.ShapeStorageLoadFile = "";
|
|
this.ctrlPlane.ShapeStorageSaveFile = "";
|
|
this.ctrlPlane.Size = new System.Drawing.Size(154, 150);
|
|
this.ctrlPlane.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.ctrlPlane.TabIndex = 1;
|
|
this.ctrlPlane.Tag2 = "";
|
|
this.ctrlPlane.UseGradient = false;
|
|
this.ctrlPlane.Vibrate = false;
|
|
//
|
|
// ctrlButterfly
|
|
//
|
|
this.ctrlButterfly.AnimateBorder = false;
|
|
this.ctrlButterfly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.ctrlButterfly.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ctrlButterfly.BackgroundImage")));
|
|
this.ctrlButterfly.Blink = false;
|
|
this.ctrlButterfly.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.ctrlButterfly.BorderStyle = System.Drawing.Drawing2D.DashStyle.Solid;
|
|
this.ctrlButterfly.BorderWidth = 0;
|
|
this.ctrlButterfly.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.ctrlButterfly.Connector = ShapeControl.ConnecterType.Center;
|
|
this.ctrlButterfly.Direction = ShapeControl.LineDirection.None;
|
|
this.ctrlButterfly.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
|
this.ctrlButterfly.Location = new System.Drawing.Point(54, 48);
|
|
this.ctrlButterfly.Name = "ctrlButterfly";
|
|
this.ctrlButterfly.Shape = ShapeControl.ShapeType.RoundedRectangle;
|
|
this.ctrlButterfly.ShapeImage = ((System.Drawing.Image)(resources.GetObject("ctrlButterfly.ShapeImage")));
|
|
this.ctrlButterfly.ShapeImageRotation = 20;
|
|
this.ctrlButterfly.ShapeImageTexture = ((System.Drawing.Image)(resources.GetObject("ctrlButterfly.ShapeImageTexture")));
|
|
this.ctrlButterfly.ShapeStorageLoadFile = "";
|
|
this.ctrlButterfly.ShapeStorageSaveFile = "";
|
|
this.ctrlButterfly.Size = new System.Drawing.Size(150, 150);
|
|
this.ctrlButterfly.SurroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.ctrlButterfly.TabIndex = 0;
|
|
this.ctrlButterfly.Tag2 = "";
|
|
this.ctrlButterfly.UseGradient = false;
|
|
this.ctrlButterfly.Vibrate = false;
|
|
//
|
|
// Form6
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(434, 381);
|
|
this.Controls.Add(this.radioButtonCustomTexture);
|
|
this.Controls.Add(this.radioButtonTexture);
|
|
this.Controls.Add(this.radioButtonBG);
|
|
this.Controls.Add(this.radioButtonNone);
|
|
this.Controls.Add(this.ctrlPlane);
|
|
this.Controls.Add(this.ctrlButterfly);
|
|
this.Name = "Form6";
|
|
this.Text = "Texture Demo";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ShapeControl.CustomControl1 ctrlButterfly;
|
|
private ShapeControl.CustomControl1 ctrlPlane;
|
|
private System.Windows.Forms.RadioButton radioButtonNone;
|
|
private System.Windows.Forms.RadioButton radioButtonBG;
|
|
private System.Windows.Forms.RadioButton radioButtonTexture;
|
|
private System.Windows.Forms.RadioButton radioButtonCustomTexture;
|
|
}
|
|
} |