169 lines
8.8 KiB
C#
169 lines
8.8 KiB
C#
namespace MatrixCalculator
|
|
{
|
|
partial class SettingsWindow
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.buttonAccept = new DynamicLink.Controls.MyButton();
|
|
this.buttonCancel = new DynamicLink.Controls.MyButton();
|
|
this.groupBox1 = new DynamicLink.Controls.MyGroupBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.checkResultAsMatrix = new System.Windows.Forms.CheckBox();
|
|
this.inputDoublePrecision = new System.Windows.Forms.NumericUpDown();
|
|
this.checkDoublePrecision = new System.Windows.Forms.CheckBox();
|
|
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.inputDoublePrecision)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonAccept
|
|
//
|
|
this.buttonAccept.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonAccept.BackColor = System.Drawing.Color.Transparent;
|
|
this.buttonAccept.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.buttonAccept.ForeColor = System.Drawing.Color.DarkGreen;
|
|
this.buttonAccept.Location = new System.Drawing.Point(223, 116);
|
|
this.buttonAccept.Name = "buttonAccept";
|
|
this.buttonAccept.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonAccept.TabIndex = 7;
|
|
this.buttonAccept.Text = "Accept";
|
|
this.buttonAccept.UseVisualStyleBackColor = false;
|
|
this.buttonAccept.Click += new System.EventHandler(this.buttonAccept_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonCancel.BackColor = System.Drawing.Color.Transparent;
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.Location = new System.Drawing.Point(142, 116);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 6;
|
|
this.buttonCancel.Text = "Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = false;
|
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.BackColor = System.Drawing.Color.Transparent;
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Controls.Add(this.checkResultAsMatrix);
|
|
this.groupBox1.Controls.Add(this.inputDoublePrecision);
|
|
this.groupBox1.Controls.Add(this.checkDoublePrecision);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 8, 3, 3);
|
|
this.groupBox1.Size = new System.Drawing.Size(286, 98);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Matrix calculator preferences";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
|
this.label1.Location = new System.Drawing.Point(204, 33);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(70, 13);
|
|
this.label1.TabIndex = 15;
|
|
this.label1.Text = "decimal digits";
|
|
//
|
|
// checkResultAsMatrix
|
|
//
|
|
this.checkResultAsMatrix.AutoSize = true;
|
|
this.checkResultAsMatrix.BackColor = System.Drawing.Color.Transparent;
|
|
this.checkResultAsMatrix.Location = new System.Drawing.Point(16, 65);
|
|
this.checkResultAsMatrix.Name = "checkResultAsMatrix";
|
|
this.checkResultAsMatrix.Size = new System.Drawing.Size(154, 17);
|
|
this.checkResultAsMatrix.TabIndex = 14;
|
|
this.checkResultAsMatrix.Text = "Show result as a 1x1 matrix";
|
|
this.toolTip.SetToolTip(this.checkResultAsMatrix, "If set, the result of numeric calculations (like determinant, minimum element etc" +
|
|
") will be displayed as a 1x1 matrix. Otherwise, it will be displayed in the \"Out" +
|
|
"put\" box.");
|
|
this.checkResultAsMatrix.UseVisualStyleBackColor = false;
|
|
//
|
|
// inputDoublePrecision
|
|
//
|
|
this.inputDoublePrecision.Location = new System.Drawing.Point(138, 31);
|
|
this.inputDoublePrecision.Name = "inputDoublePrecision";
|
|
this.inputDoublePrecision.Size = new System.Drawing.Size(60, 20);
|
|
this.inputDoublePrecision.TabIndex = 13;
|
|
this.toolTip.SetToolTip(this.inputDoublePrecision, "For example, if value is 1, number 0.234 will be displayed as 0.2 ");
|
|
//
|
|
// checkDoublePrecision
|
|
//
|
|
this.checkDoublePrecision.AutoSize = true;
|
|
this.checkDoublePrecision.BackColor = System.Drawing.Color.Transparent;
|
|
this.checkDoublePrecision.Location = new System.Drawing.Point(16, 32);
|
|
this.checkDoublePrecision.Name = "checkDoublePrecision";
|
|
this.checkDoublePrecision.Size = new System.Drawing.Size(116, 17);
|
|
this.checkDoublePrecision.TabIndex = 12;
|
|
this.checkDoublePrecision.Text = "Round numbers to:";
|
|
this.toolTip.SetToolTip(this.checkDoublePrecision, "If set, the number of decimals will be limited to the number selected.");
|
|
this.checkDoublePrecision.UseVisualStyleBackColor = false;
|
|
this.checkDoublePrecision.CheckedChanged += new System.EventHandler(this.checkDoublePrecision_CheckedChanged);
|
|
//
|
|
// SettingsWindow
|
|
//
|
|
this.AcceptButton = this.buttonAccept;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.ClientSize = new System.Drawing.Size(310, 151);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.buttonAccept);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "SettingsWindow";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Preferences";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.inputDoublePrecision)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DynamicLink.Controls.MyButton buttonAccept;
|
|
private DynamicLink.Controls.MyButton buttonCancel;
|
|
private DynamicLink.Controls.MyGroupBox groupBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.CheckBox checkResultAsMatrix;
|
|
private System.Windows.Forms.ToolTip toolTip;
|
|
private System.Windows.Forms.NumericUpDown inputDoublePrecision;
|
|
private System.Windows.Forms.CheckBox checkDoublePrecision;
|
|
}
|
|
} |