📄 matrixcontrol.cs
字号:
this.TranslationX = new System.Windows.Forms.TrackBar();
this.TranslationY = new System.Windows.Forms.TrackBar();
this.TranslationZ = new System.Windows.Forms.TrackBar();
this.lblScaX = new System.Windows.Forms.Label();
this.lblScaY = new System.Windows.Forms.Label();
this.lblScaZ = new System.Windows.Forms.Label();
this.RotationX = new System.Windows.Forms.TrackBar();
this.RotationY = new System.Windows.Forms.TrackBar();
this.RotationZ = new System.Windows.Forms.TrackBar();
this.grpRotation = new System.Windows.Forms.GroupBox();
this.ScaleX = new System.Windows.Forms.TrackBar();
this.ScaleY = new System.Windows.Forms.TrackBar();
this.ScaleZ = new System.Windows.Forms.TrackBar();
this.grpScale = new System.Windows.Forms.GroupBox();
this.grpTranslation.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TranslationX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.TranslationY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.TranslationZ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RotationX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RotationY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RotationZ)).BeginInit();
this.grpRotation.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ScaleX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ScaleY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ScaleZ)).BeginInit();
this.grpScale.SuspendLayout();
this.SuspendLayout();
//
// lblRotZ
//
this.lblRotZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblRotZ.Location = new System.Drawing.Point(8, 128);
this.lblRotZ.Name = "lblRotZ";
this.lblRotZ.Size = new System.Drawing.Size(80, 24);
this.lblRotZ.TabIndex = 5;
this.lblRotZ.Text = "Z Axis";
//
// lblRotY
//
this.lblRotY.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblRotY.Location = new System.Drawing.Point(8, 80);
this.lblRotY.Name = "lblRotY";
this.lblRotY.Size = new System.Drawing.Size(80, 24);
this.lblRotY.TabIndex = 3;
this.lblRotY.Text = "Y Axis";
//
// LblRotX
//
this.LblRotX.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.LblRotX.Location = new System.Drawing.Point(8, 32);
this.LblRotX.Name = "LblRotX";
this.LblRotX.Size = new System.Drawing.Size(80, 24);
this.LblRotX.TabIndex = 1;
this.LblRotX.Text = "X Axis";
//
// chkAuto
//
this.chkAuto.Location = new System.Drawing.Point(16, 216);
this.chkAuto.Name = "chkAuto";
this.chkAuto.Size = new System.Drawing.Size(88, 24);
this.chkAuto.TabIndex = 8;
this.chkAuto.Text = "Auto Move";
this.chkAuto.CheckedChanged += new System.EventHandler(this.chkAuto_CheckedChanged);
//
// grpTranslation
//
this.grpTranslation.Controls.Add(this.lblTranY);
this.grpTranslation.Controls.Add(this.lblTranZ);
this.grpTranslation.Controls.Add(this.lblTranX);
this.grpTranslation.Controls.Add(this.TranslationX);
this.grpTranslation.Controls.Add(this.TranslationY);
this.grpTranslation.Controls.Add(this.TranslationZ);
this.grpTranslation.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.grpTranslation.Location = new System.Drawing.Point(256, 0);
this.grpTranslation.Name = "grpTranslation";
this.grpTranslation.Size = new System.Drawing.Size(272, 176);
this.grpTranslation.TabIndex = 5;
this.grpTranslation.TabStop = false;
this.grpTranslation.Text = "Translation";
//
// lblTranY
//
this.lblTranY.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblTranY.Location = new System.Drawing.Point(16, 80);
this.lblTranY.Name = "lblTranY";
this.lblTranY.Size = new System.Drawing.Size(80, 24);
this.lblTranY.TabIndex = 9;
this.lblTranY.Text = "Y Axis";
//
// lblTranZ
//
this.lblTranZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblTranZ.Location = new System.Drawing.Point(16, 128);
this.lblTranZ.Name = "lblTranZ";
this.lblTranZ.Size = new System.Drawing.Size(80, 24);
this.lblTranZ.TabIndex = 11;
this.lblTranZ.Text = "Z Axis";
//
// lblTranX
//
this.lblTranX.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblTranX.Location = new System.Drawing.Point(16, 32);
this.lblTranX.Name = "lblTranX";
this.lblTranX.Size = new System.Drawing.Size(80, 24);
this.lblTranX.TabIndex = 7;
this.lblTranX.Text = "X Axis";
//
// TranslationX
//
this.TranslationX.LargeChange = 90;
this.TranslationX.Location = new System.Drawing.Point(88, 32);
this.TranslationX.Maximum = 200;
this.TranslationX.Minimum = -200;
this.TranslationX.Name = "TranslationX";
this.TranslationX.Size = new System.Drawing.Size(176, 45);
this.TranslationX.TabIndex = 9;
this.TranslationX.TickFrequency = 10;
this.TranslationX.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// TranslationY
//
this.TranslationY.LargeChange = 90;
this.TranslationY.Location = new System.Drawing.Point(88, 80);
this.TranslationY.Maximum = 200;
this.TranslationY.Minimum = -200;
this.TranslationY.Name = "TranslationY";
this.TranslationY.Size = new System.Drawing.Size(176, 45);
this.TranslationY.TabIndex = 10;
this.TranslationY.TickFrequency = 10;
this.TranslationY.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// TranslationZ
//
this.TranslationZ.LargeChange = 10;
this.TranslationZ.Location = new System.Drawing.Point(88, 128);
this.TranslationZ.Maximum = 200;
this.TranslationZ.Minimum = -200;
this.TranslationZ.Name = "TranslationZ";
this.TranslationZ.Size = new System.Drawing.Size(176, 45);
this.TranslationZ.TabIndex = 10;
this.TranslationZ.TickFrequency = 10;
this.TranslationZ.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// lblScaX
//
this.lblScaX.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblScaX.Location = new System.Drawing.Point(8, 24);
this.lblScaX.Name = "lblScaX";
this.lblScaX.Size = new System.Drawing.Size(64, 24);
this.lblScaX.TabIndex = 13;
this.lblScaX.Text = "X Axis";
//
// lblScaY
//
this.lblScaY.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblScaY.Location = new System.Drawing.Point(80, 24);
this.lblScaY.Name = "lblScaY";
this.lblScaY.Size = new System.Drawing.Size(64, 24);
this.lblScaY.TabIndex = 15;
this.lblScaY.Text = "Y Axis";
//
// lblScaZ
//
this.lblScaZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblScaZ.Location = new System.Drawing.Point(152, 24);
this.lblScaZ.Name = "lblScaZ";
this.lblScaZ.Size = new System.Drawing.Size(64, 24);
this.lblScaZ.TabIndex = 17;
this.lblScaZ.Text = "Z Axis";
//
// RotationX
//
this.RotationX.LargeChange = 90;
this.RotationX.Location = new System.Drawing.Point(80, 32);
this.RotationX.Maximum = 360;
this.RotationX.Name = "RotationX";
this.RotationX.Size = new System.Drawing.Size(176, 45);
this.RotationX.TabIndex = 9;
this.RotationX.TickFrequency = 10;
this.RotationX.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// RotationY
//
this.RotationY.LargeChange = 90;
this.RotationY.Location = new System.Drawing.Point(80, 80);
this.RotationY.Maximum = 360;
this.RotationY.Name = "RotationY";
this.RotationY.Size = new System.Drawing.Size(176, 45);
this.RotationY.TabIndex = 10;
this.RotationY.TickFrequency = 10;
this.RotationY.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// RotationZ
//
this.RotationZ.CausesValidation = false;
this.RotationZ.LargeChange = 90;
this.RotationZ.Location = new System.Drawing.Point(80, 128);
this.RotationZ.Maximum = 360;
this.RotationZ.Name = "RotationZ";
this.RotationZ.Size = new System.Drawing.Size(176, 45);
this.RotationZ.TabIndex = 10;
this.RotationZ.TabStop = false;
this.RotationZ.TickFrequency = 10;
this.RotationZ.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// grpRotation
//
this.grpRotation.Controls.Add(this.LblRotX);
this.grpRotation.Controls.Add(this.RotationY);
this.grpRotation.Controls.Add(this.RotationZ);
this.grpRotation.Controls.Add(this.RotationX);
this.grpRotation.Controls.Add(this.lblRotZ);
this.grpRotation.Controls.Add(this.lblRotY);
this.grpRotation.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.grpRotation.Location = new System.Drawing.Point(0, 0);
this.grpRotation.Name = "grpRotation";
this.grpRotation.Size = new System.Drawing.Size(256, 176);
this.grpRotation.TabIndex = 11;
this.grpRotation.TabStop = false;
this.grpRotation.Text = "Rotation";
//
// ScaleX
//
this.ScaleX.Location = new System.Drawing.Point(16, 56);
this.ScaleX.Maximum = 200;
this.ScaleX.Minimum = 1;
this.ScaleX.Name = "ScaleX";
this.ScaleX.Orientation = System.Windows.Forms.Orientation.Vertical;
this.ScaleX.Size = new System.Drawing.Size(45, 144);
this.ScaleX.TabIndex = 12;
this.ScaleX.TickFrequency = 10;
this.ScaleX.Value = 1;
this.ScaleX.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// ScaleY
//
this.ScaleY.Location = new System.Drawing.Point(88, 56);
this.ScaleY.Maximum = 200;
this.ScaleY.Minimum = 1;
this.ScaleY.Name = "ScaleY";
this.ScaleY.Orientation = System.Windows.Forms.Orientation.Vertical;
this.ScaleY.Size = new System.Drawing.Size(45, 144);
this.ScaleY.TabIndex = 12;
this.ScaleY.TickFrequency = 10;
this.ScaleY.Value = 1;
this.ScaleY.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// ScaleZ
//
this.ScaleZ.Location = new System.Drawing.Point(160, 56);
this.ScaleZ.Maximum = 200;
this.ScaleZ.Minimum = 1;
this.ScaleZ.Name = "ScaleZ";
this.ScaleZ.Orientation = System.Windows.Forms.Orientation.Vertical;
this.ScaleZ.Size = new System.Drawing.Size(45, 144);
this.ScaleZ.TabIndex = 12;
this.ScaleZ.TickFrequency = 10;
this.ScaleZ.Value = 1;
this.ScaleZ.ValueChanged += new System.EventHandler(this.Transformations_ValueChanged);
//
// grpScale
//
this.grpScale.Controls.Add(this.ScaleX);
this.grpScale.Controls.Add(this.ScaleZ);
this.grpScale.Controls.Add(this.lblScaX);
this.grpScale.Controls.Add(this.lblScaY);
this.grpScale.Controls.Add(this.ScaleY);
this.grpScale.Controls.Add(this.lblScaZ);
this.grpScale.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.grpScale.Location = new System.Drawing.Point(128, 176);
this.grpScale.Name = "grpScale";
this.grpScale.Size = new System.Drawing.Size(232, 208);
this.grpScale.TabIndex = 18;
this.grpScale.TabStop = false;
this.grpScale.Text = "Scale";
//
// MatrixControl
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(544, 398);
this.Controls.Add(this.grpScale);
this.Controls.Add(this.grpRotation);
this.Controls.Add(this.chkAuto);
this.Controls.Add(this.grpTranslation);
this.Name = "MatrixControl";
this.Text = "MatrixControl";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MatrixControl_KeyDown);
this.Closing += new System.ComponentModel.CancelEventHandler(this.MatrixControl_Closing);
this.grpTranslation.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.TranslationX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.TranslationY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.TranslationZ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RotationX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RotationY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RotationZ)).EndInit();
this.grpRotation.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ScaleX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ScaleY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ScaleZ)).EndInit();
this.grpScale.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -