381 lines
18 KiB
C#
381 lines
18 KiB
C#
namespace ElementaryMathematics
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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(Form1));
|
|
this.grpOperations = new System.Windows.Forms.GroupBox();
|
|
this.rdoDivision = new System.Windows.Forms.RadioButton();
|
|
this.rdoMultiplication = new System.Windows.Forms.RadioButton();
|
|
this.rdoSubtraction = new System.Windows.Forms.RadioButton();
|
|
this.rdoAddition = new System.Windows.Forms.RadioButton();
|
|
this.pnlSummary = new System.Windows.Forms.Panel();
|
|
this.lblNumIncorrect = new System.Windows.Forms.Label();
|
|
this.lblNumCorrect = new System.Windows.Forms.Label();
|
|
this.lblDisIncorrect = new System.Windows.Forms.Label();
|
|
this.lblDisCorrect = new System.Windows.Forms.Label();
|
|
this.pnlCalc = new System.Windows.Forms.Panel();
|
|
this.lblDisInfo = new System.Windows.Forms.Label();
|
|
this.lblImage = new System.Windows.Forms.Label();
|
|
this.btnReset = new System.Windows.Forms.Button();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.btnShowCorrectAnswer = new System.Windows.Forms.Button();
|
|
this.btnChkAnswer = new System.Windows.Forms.Button();
|
|
this.lblMessage = new System.Windows.Forms.Label();
|
|
this.lblOperator = new System.Windows.Forms.Label();
|
|
this.lblDisEqual = new System.Windows.Forms.Label();
|
|
this.txtC = new System.Windows.Forms.TextBox();
|
|
this.txtB = new System.Windows.Forms.TextBox();
|
|
this.txtA = new System.Windows.Forms.TextBox();
|
|
this.chkShowSummary = new System.Windows.Forms.CheckBox();
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
this.btnPrint = new System.Windows.Forms.Button();
|
|
this.grpOperations.SuspendLayout();
|
|
this.pnlSummary.SuspendLayout();
|
|
this.pnlCalc.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// grpOperations
|
|
//
|
|
this.grpOperations.Controls.Add(this.rdoDivision);
|
|
this.grpOperations.Controls.Add(this.rdoMultiplication);
|
|
this.grpOperations.Controls.Add(this.rdoSubtraction);
|
|
this.grpOperations.Controls.Add(this.rdoAddition);
|
|
this.grpOperations.Location = new System.Drawing.Point(208, 224);
|
|
this.grpOperations.Name = "grpOperations";
|
|
this.grpOperations.Size = new System.Drawing.Size(211, 120);
|
|
this.grpOperations.TabIndex = 1;
|
|
this.grpOperations.TabStop = false;
|
|
this.grpOperations.Text = "Operations";
|
|
//
|
|
// rdoDivision
|
|
//
|
|
this.rdoDivision.Location = new System.Drawing.Point(109, 62);
|
|
this.rdoDivision.Name = "rdoDivision";
|
|
this.rdoDivision.Size = new System.Drawing.Size(77, 23);
|
|
this.rdoDivision.TabIndex = 3;
|
|
this.rdoDivision.TabStop = true;
|
|
this.rdoDivision.Text = "Division";
|
|
this.rdoDivision.UseVisualStyleBackColor = true;
|
|
this.rdoDivision.CheckedChanged += new System.EventHandler(this.rdoDivision_CheckedChanged);
|
|
//
|
|
// rdoMultiplication
|
|
//
|
|
this.rdoMultiplication.Location = new System.Drawing.Point(109, 30);
|
|
this.rdoMultiplication.Name = "rdoMultiplication";
|
|
this.rdoMultiplication.Size = new System.Drawing.Size(96, 23);
|
|
this.rdoMultiplication.TabIndex = 2;
|
|
this.rdoMultiplication.TabStop = true;
|
|
this.rdoMultiplication.Text = "Multiplication";
|
|
this.rdoMultiplication.UseVisualStyleBackColor = true;
|
|
this.rdoMultiplication.CheckedChanged += new System.EventHandler(this.rdoMultiplication_CheckedChanged);
|
|
//
|
|
// rdoSubtraction
|
|
//
|
|
this.rdoSubtraction.Location = new System.Drawing.Point(26, 62);
|
|
this.rdoSubtraction.Name = "rdoSubtraction";
|
|
this.rdoSubtraction.Size = new System.Drawing.Size(86, 23);
|
|
this.rdoSubtraction.TabIndex = 1;
|
|
this.rdoSubtraction.TabStop = true;
|
|
this.rdoSubtraction.Text = "Subtraction";
|
|
this.rdoSubtraction.UseVisualStyleBackColor = true;
|
|
this.rdoSubtraction.CheckedChanged += new System.EventHandler(this.rdoSubtraction_CheckedChanged);
|
|
//
|
|
// rdoAddition
|
|
//
|
|
this.rdoAddition.Location = new System.Drawing.Point(26, 33);
|
|
this.rdoAddition.Name = "rdoAddition";
|
|
this.rdoAddition.Size = new System.Drawing.Size(77, 23);
|
|
this.rdoAddition.TabIndex = 0;
|
|
this.rdoAddition.TabStop = true;
|
|
this.rdoAddition.Text = "Addition";
|
|
this.rdoAddition.UseVisualStyleBackColor = true;
|
|
this.rdoAddition.CheckedChanged += new System.EventHandler(this.rdoAddition_CheckedChanged);
|
|
//
|
|
// pnlSummary
|
|
//
|
|
this.pnlSummary.Controls.Add(this.lblNumIncorrect);
|
|
this.pnlSummary.Controls.Add(this.lblNumCorrect);
|
|
this.pnlSummary.Controls.Add(this.lblDisIncorrect);
|
|
this.pnlSummary.Controls.Add(this.lblDisCorrect);
|
|
this.pnlSummary.Location = new System.Drawing.Point(562, 242);
|
|
this.pnlSummary.Name = "pnlSummary";
|
|
this.pnlSummary.Size = new System.Drawing.Size(197, 102);
|
|
this.pnlSummary.TabIndex = 2;
|
|
//
|
|
// lblNumIncorrect
|
|
//
|
|
this.lblNumIncorrect.Location = new System.Drawing.Point(96, 50);
|
|
this.lblNumIncorrect.Name = "lblNumIncorrect";
|
|
this.lblNumIncorrect.Size = new System.Drawing.Size(75, 20);
|
|
this.lblNumIncorrect.TabIndex = 3;
|
|
//
|
|
// lblNumCorrect
|
|
//
|
|
this.lblNumCorrect.Location = new System.Drawing.Point(15, 50);
|
|
this.lblNumCorrect.Name = "lblNumCorrect";
|
|
this.lblNumCorrect.Size = new System.Drawing.Size(75, 20);
|
|
this.lblNumCorrect.TabIndex = 2;
|
|
//
|
|
// lblDisIncorrect
|
|
//
|
|
this.lblDisIncorrect.Location = new System.Drawing.Point(96, 13);
|
|
this.lblDisIncorrect.Name = "lblDisIncorrect";
|
|
this.lblDisIncorrect.Size = new System.Drawing.Size(75, 20);
|
|
this.lblDisIncorrect.TabIndex = 1;
|
|
this.lblDisIncorrect.Text = "Incorrect:";
|
|
//
|
|
// lblDisCorrect
|
|
//
|
|
this.lblDisCorrect.Location = new System.Drawing.Point(15, 15);
|
|
this.lblDisCorrect.Name = "lblDisCorrect";
|
|
this.lblDisCorrect.Size = new System.Drawing.Size(75, 20);
|
|
this.lblDisCorrect.TabIndex = 0;
|
|
this.lblDisCorrect.Text = "Correct:";
|
|
//
|
|
// pnlCalc
|
|
//
|
|
this.pnlCalc.Controls.Add(this.lblDisInfo);
|
|
this.pnlCalc.Controls.Add(this.lblImage);
|
|
this.pnlCalc.Controls.Add(this.btnReset);
|
|
this.pnlCalc.Controls.Add(this.btnClear);
|
|
this.pnlCalc.Controls.Add(this.btnShowCorrectAnswer);
|
|
this.pnlCalc.Controls.Add(this.btnChkAnswer);
|
|
this.pnlCalc.Controls.Add(this.lblMessage);
|
|
this.pnlCalc.Controls.Add(this.lblOperator);
|
|
this.pnlCalc.Controls.Add(this.lblDisEqual);
|
|
this.pnlCalc.Controls.Add(this.txtC);
|
|
this.pnlCalc.Controls.Add(this.txtB);
|
|
this.pnlCalc.Controls.Add(this.txtA);
|
|
this.pnlCalc.Location = new System.Drawing.Point(60, 47);
|
|
this.pnlCalc.Name = "pnlCalc";
|
|
this.pnlCalc.Size = new System.Drawing.Size(698, 155);
|
|
this.pnlCalc.TabIndex = 3;
|
|
//
|
|
// lblDisInfo
|
|
//
|
|
this.lblDisInfo.Location = new System.Drawing.Point(367, 15);
|
|
this.lblDisInfo.Name = "lblDisInfo";
|
|
this.lblDisInfo.Size = new System.Drawing.Size(106, 29);
|
|
this.lblDisInfo.TabIndex = 11;
|
|
this.lblDisInfo.Text = "Rount to the Nearest Hundredth (x.xx)";
|
|
this.lblDisInfo.Click += new System.EventHandler(this.label1_Click);
|
|
//
|
|
// lblImage
|
|
//
|
|
this.lblImage.Location = new System.Drawing.Point(508, 37);
|
|
this.lblImage.Name = "lblImage";
|
|
this.lblImage.Size = new System.Drawing.Size(47, 44);
|
|
this.lblImage.TabIndex = 10;
|
|
//
|
|
// btnReset
|
|
//
|
|
this.btnReset.Location = new System.Drawing.Point(592, 122);
|
|
this.btnReset.Name = "btnReset";
|
|
this.btnReset.Size = new System.Drawing.Size(105, 28);
|
|
this.btnReset.TabIndex = 9;
|
|
this.btnReset.Text = "Reset";
|
|
this.btnReset.UseVisualStyleBackColor = true;
|
|
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.Location = new System.Drawing.Point(592, 88);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(105, 28);
|
|
this.btnClear.TabIndex = 8;
|
|
this.btnClear.Text = "Clear";
|
|
this.btnClear.UseVisualStyleBackColor = true;
|
|
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
|
//
|
|
// btnShowCorrectAnswer
|
|
//
|
|
this.btnShowCorrectAnswer.Location = new System.Drawing.Point(592, 54);
|
|
this.btnShowCorrectAnswer.Name = "btnShowCorrectAnswer";
|
|
this.btnShowCorrectAnswer.Size = new System.Drawing.Size(105, 28);
|
|
this.btnShowCorrectAnswer.TabIndex = 7;
|
|
this.btnShowCorrectAnswer.Text = "Show Correct";
|
|
this.btnShowCorrectAnswer.UseVisualStyleBackColor = true;
|
|
this.btnShowCorrectAnswer.Click += new System.EventHandler(this.btnShowCorrectAnswer_Click);
|
|
//
|
|
// btnChkAnswer
|
|
//
|
|
this.btnChkAnswer.Location = new System.Drawing.Point(592, 20);
|
|
this.btnChkAnswer.Name = "btnChkAnswer";
|
|
this.btnChkAnswer.Size = new System.Drawing.Size(105, 28);
|
|
this.btnChkAnswer.TabIndex = 6;
|
|
this.btnChkAnswer.Text = "Check Answer";
|
|
this.btnChkAnswer.UseVisualStyleBackColor = true;
|
|
this.btnChkAnswer.Click += new System.EventHandler(this.btnChkAnswer_Click);
|
|
//
|
|
// lblMessage
|
|
//
|
|
this.lblMessage.Location = new System.Drawing.Point(380, 101);
|
|
this.lblMessage.Name = "lblMessage";
|
|
this.lblMessage.Size = new System.Drawing.Size(206, 24);
|
|
this.lblMessage.TabIndex = 5;
|
|
//
|
|
// lblOperator
|
|
//
|
|
this.lblOperator.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblOperator.Location = new System.Drawing.Point(182, 48);
|
|
this.lblOperator.Name = "lblOperator";
|
|
this.lblOperator.Size = new System.Drawing.Size(29, 19);
|
|
this.lblOperator.TabIndex = 4;
|
|
this.lblOperator.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblDisEqual
|
|
//
|
|
this.lblDisEqual.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblDisEqual.Location = new System.Drawing.Point(330, 47);
|
|
this.lblDisEqual.Name = "lblDisEqual";
|
|
this.lblDisEqual.Size = new System.Drawing.Size(29, 19);
|
|
this.lblDisEqual.TabIndex = 3;
|
|
this.lblDisEqual.Text = "=";
|
|
this.lblDisEqual.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// txtC
|
|
//
|
|
this.txtC.Location = new System.Drawing.Point(380, 47);
|
|
this.txtC.Name = "txtC";
|
|
this.txtC.Size = new System.Drawing.Size(79, 20);
|
|
this.txtC.TabIndex = 2;
|
|
this.txtC.TextChanged += new System.EventHandler(this.txtC_TextChanged);
|
|
//
|
|
// txtB
|
|
//
|
|
this.txtB.Location = new System.Drawing.Point(227, 47);
|
|
this.txtB.Name = "txtB";
|
|
this.txtB.Size = new System.Drawing.Size(79, 20);
|
|
this.txtB.TabIndex = 1;
|
|
this.txtB.TextChanged += new System.EventHandler(this.txtB_TextChanged);
|
|
//
|
|
// txtA
|
|
//
|
|
this.txtA.Location = new System.Drawing.Point(86, 47);
|
|
this.txtA.Name = "txtA";
|
|
this.txtA.Size = new System.Drawing.Size(79, 20);
|
|
this.txtA.TabIndex = 0;
|
|
this.txtA.TextChanged += new System.EventHandler(this.txtA_TextChanged);
|
|
//
|
|
// chkShowSummary
|
|
//
|
|
this.chkShowSummary.Location = new System.Drawing.Point(559, 213);
|
|
this.chkShowSummary.Name = "chkShowSummary";
|
|
this.chkShowSummary.Size = new System.Drawing.Size(200, 29);
|
|
this.chkShowSummary.TabIndex = 4;
|
|
this.chkShowSummary.Text = "Display Summary Information";
|
|
this.chkShowSummary.UseVisualStyleBackColor = true;
|
|
this.chkShowSummary.CheckedChanged += new System.EventHandler(this.chkSummary_CheckedChanged);
|
|
//
|
|
// btnExit
|
|
//
|
|
this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnExit.Location = new System.Drawing.Point(675, 371);
|
|
this.btnExit.Name = "btnExit";
|
|
this.btnExit.Size = new System.Drawing.Size(106, 34);
|
|
this.btnExit.TabIndex = 5;
|
|
this.btnExit.Text = "Exit";
|
|
this.btnExit.UseVisualStyleBackColor = true;
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|
//
|
|
// btnPrint
|
|
//
|
|
this.btnPrint.Location = new System.Drawing.Point(546, 371);
|
|
this.btnPrint.Name = "btnPrint";
|
|
this.btnPrint.Size = new System.Drawing.Size(106, 34);
|
|
this.btnPrint.TabIndex = 6;
|
|
this.btnPrint.Text = "Print Summary";
|
|
this.btnPrint.UseVisualStyleBackColor = true;
|
|
this.btnPrint.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AcceptButton = this.btnChkAnswer;
|
|
this.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnExit;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.btnPrint);
|
|
this.Controls.Add(this.btnExit);
|
|
this.Controls.Add(this.chkShowSummary);
|
|
this.Controls.Add(this.pnlCalc);
|
|
this.Controls.Add(this.pnlSummary);
|
|
this.Controls.Add(this.grpOperations);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "Form1";
|
|
this.RightToLeftLayout = true;
|
|
this.Text = "Math Practice";
|
|
this.grpOperations.ResumeLayout(false);
|
|
this.pnlSummary.ResumeLayout(false);
|
|
this.pnlCalc.ResumeLayout(false);
|
|
this.pnlCalc.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
}
|
|
|
|
private System.Windows.Forms.Label lblDisInfo;
|
|
|
|
private System.Windows.Forms.Button btnExit;
|
|
private System.Windows.Forms.Button btnPrint;
|
|
|
|
private System.Windows.Forms.Label lblImage;
|
|
|
|
private System.Windows.Forms.Label lblMessage;
|
|
private System.Windows.Forms.Button btnChkAnswer;
|
|
private System.Windows.Forms.Button btnShowCorrectAnswer;
|
|
private System.Windows.Forms.Button btnClear;
|
|
private System.Windows.Forms.Button btnReset;
|
|
private System.Windows.Forms.Label lblDisCorrect;
|
|
private System.Windows.Forms.Label lblDisIncorrect;
|
|
private System.Windows.Forms.Label lblNumCorrect;
|
|
private System.Windows.Forms.Label lblNumIncorrect;
|
|
|
|
private System.Windows.Forms.RadioButton rdoSubtraction;
|
|
private System.Windows.Forms.RadioButton rdoMultiplication;
|
|
private System.Windows.Forms.RadioButton rdoDivision;
|
|
private System.Windows.Forms.CheckBox chkShowSummary;
|
|
|
|
private System.Windows.Forms.Label lblOperator;
|
|
private System.Windows.Forms.RadioButton rdoAddition;
|
|
|
|
private System.Windows.Forms.TextBox txtC;
|
|
private System.Windows.Forms.Label lblDisEqual;
|
|
|
|
private System.Windows.Forms.GroupBox grpOperations;
|
|
private System.Windows.Forms.Panel pnlSummary;
|
|
private System.Windows.Forms.Panel pnlCalc;
|
|
private System.Windows.Forms.TextBox txtA;
|
|
private System.Windows.Forms.TextBox txtB;
|
|
|
|
private System.Windows.Forms.GroupBox grpSummary;
|
|
|
|
#endregion
|
|
}
|
|
} |