293 lines
11 KiB
C#
293 lines
11 KiB
C#
namespace Calculator
|
|
{
|
|
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()
|
|
{
|
|
btn_input_6 = new Button();
|
|
btn_input_3 = new Button();
|
|
btn_input_5 = new Button();
|
|
btn_input_2 = new Button();
|
|
btn_input_8 = new Button();
|
|
btn_input_9 = new Button();
|
|
btn_input_7 = new Button();
|
|
btn_input_4 = new Button();
|
|
btn_input_1 = new Button();
|
|
btn_input_0 = new Button();
|
|
btn_input_comma = new Button();
|
|
lbl_main = new Label();
|
|
btn_input_add = new Button();
|
|
btn_input_sub = new Button();
|
|
btn_input_div = new Button();
|
|
btn_input_mult = new Button();
|
|
btn_import_prev = new Button();
|
|
lbl_number = new Label();
|
|
btn_next = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// btn_input_6
|
|
//
|
|
btn_input_6.Location = new Point(444, 149);
|
|
btn_input_6.Name = "btn_input_6";
|
|
btn_input_6.Size = new Size(71, 34);
|
|
btn_input_6.TabIndex = 4;
|
|
btn_input_6.Text = "6";
|
|
btn_input_6.UseVisualStyleBackColor = true;
|
|
btn_input_6.Visible = false;
|
|
//
|
|
// btn_input_3
|
|
//
|
|
btn_input_3.Location = new Point(444, 109);
|
|
btn_input_3.Name = "btn_input_3";
|
|
btn_input_3.Size = new Size(71, 34);
|
|
btn_input_3.TabIndex = 10;
|
|
btn_input_3.Text = "3";
|
|
btn_input_3.UseVisualStyleBackColor = true;
|
|
btn_input_3.Visible = false;
|
|
//
|
|
// btn_input_5
|
|
//
|
|
btn_input_5.Location = new Point(367, 149);
|
|
btn_input_5.Name = "btn_input_5";
|
|
btn_input_5.Size = new Size(71, 34);
|
|
btn_input_5.TabIndex = 11;
|
|
btn_input_5.Text = "5";
|
|
btn_input_5.UseVisualStyleBackColor = true;
|
|
btn_input_5.Visible = false;
|
|
//
|
|
// btn_input_2
|
|
//
|
|
btn_input_2.Location = new Point(367, 109);
|
|
btn_input_2.Name = "btn_input_2";
|
|
btn_input_2.Size = new Size(71, 34);
|
|
btn_input_2.TabIndex = 12;
|
|
btn_input_2.Text = "2";
|
|
btn_input_2.UseVisualStyleBackColor = true;
|
|
btn_input_2.Visible = false;
|
|
//
|
|
// btn_input_8
|
|
//
|
|
btn_input_8.Location = new Point(367, 189);
|
|
btn_input_8.Name = "btn_input_8";
|
|
btn_input_8.Size = new Size(71, 34);
|
|
btn_input_8.TabIndex = 13;
|
|
btn_input_8.Text = "8";
|
|
btn_input_8.UseVisualStyleBackColor = true;
|
|
btn_input_8.Visible = false;
|
|
//
|
|
// btn_input_9
|
|
//
|
|
btn_input_9.Location = new Point(444, 189);
|
|
btn_input_9.Name = "btn_input_9";
|
|
btn_input_9.Size = new Size(71, 34);
|
|
btn_input_9.TabIndex = 14;
|
|
btn_input_9.Text = "9";
|
|
btn_input_9.UseVisualStyleBackColor = true;
|
|
btn_input_9.Visible = false;
|
|
//
|
|
// btn_input_7
|
|
//
|
|
btn_input_7.Location = new Point(290, 189);
|
|
btn_input_7.Name = "btn_input_7";
|
|
btn_input_7.Size = new Size(71, 34);
|
|
btn_input_7.TabIndex = 15;
|
|
btn_input_7.Text = "7";
|
|
btn_input_7.UseVisualStyleBackColor = true;
|
|
btn_input_7.Visible = false;
|
|
//
|
|
// btn_input_4
|
|
//
|
|
btn_input_4.Location = new Point(290, 149);
|
|
btn_input_4.Name = "btn_input_4";
|
|
btn_input_4.Size = new Size(71, 34);
|
|
btn_input_4.TabIndex = 16;
|
|
btn_input_4.Text = "4";
|
|
btn_input_4.UseVisualStyleBackColor = true;
|
|
btn_input_4.Visible = false;
|
|
//
|
|
// btn_input_1
|
|
//
|
|
btn_input_1.Location = new Point(290, 109);
|
|
btn_input_1.Name = "btn_input_1";
|
|
btn_input_1.Size = new Size(71, 34);
|
|
btn_input_1.TabIndex = 17;
|
|
btn_input_1.Text = "1";
|
|
btn_input_1.UseVisualStyleBackColor = true;
|
|
btn_input_1.Visible = false;
|
|
//
|
|
// btn_input_0
|
|
//
|
|
btn_input_0.Location = new Point(332, 229);
|
|
btn_input_0.Name = "btn_input_0";
|
|
btn_input_0.Size = new Size(71, 34);
|
|
btn_input_0.TabIndex = 18;
|
|
btn_input_0.Text = "0";
|
|
btn_input_0.UseVisualStyleBackColor = true;
|
|
btn_input_0.Visible = false;
|
|
//
|
|
// btn_input_comma
|
|
//
|
|
btn_input_comma.Location = new Point(409, 229);
|
|
btn_input_comma.Name = "btn_input_comma";
|
|
btn_input_comma.Size = new Size(71, 34);
|
|
btn_input_comma.TabIndex = 20;
|
|
btn_input_comma.Text = ",";
|
|
btn_input_comma.UseVisualStyleBackColor = true;
|
|
btn_input_comma.Visible = false;
|
|
//
|
|
// lbl_main
|
|
//
|
|
lbl_main.Anchor = AnchorStyles.Top;
|
|
lbl_main.AutoSize = true;
|
|
lbl_main.Location = new Point(347, 40);
|
|
lbl_main.Name = "lbl_main";
|
|
lbl_main.Size = new Size(121, 25);
|
|
lbl_main.TabIndex = 21;
|
|
lbl_main.Text = "Välj operation";
|
|
lbl_main.TextAlign = ContentAlignment.TopCenter;
|
|
//
|
|
// btn_input_add
|
|
//
|
|
btn_input_add.Location = new Point(347, 137);
|
|
btn_input_add.Name = "btn_input_add";
|
|
btn_input_add.Size = new Size(56, 34);
|
|
btn_input_add.TabIndex = 22;
|
|
btn_input_add.Text = "+";
|
|
btn_input_add.UseVisualStyleBackColor = true;
|
|
//
|
|
// btn_input_sub
|
|
//
|
|
btn_input_sub.Location = new Point(409, 137);
|
|
btn_input_sub.Name = "btn_input_sub";
|
|
btn_input_sub.Size = new Size(56, 34);
|
|
btn_input_sub.TabIndex = 23;
|
|
btn_input_sub.Text = "-";
|
|
btn_input_sub.UseVisualStyleBackColor = true;
|
|
//
|
|
// btn_input_div
|
|
//
|
|
btn_input_div.Location = new Point(409, 177);
|
|
btn_input_div.Name = "btn_input_div";
|
|
btn_input_div.Size = new Size(56, 34);
|
|
btn_input_div.TabIndex = 24;
|
|
btn_input_div.Text = "/";
|
|
btn_input_div.UseVisualStyleBackColor = true;
|
|
//
|
|
// btn_input_mult
|
|
//
|
|
btn_input_mult.Location = new Point(347, 177);
|
|
btn_input_mult.Name = "btn_input_mult";
|
|
btn_input_mult.Size = new Size(56, 34);
|
|
btn_input_mult.TabIndex = 25;
|
|
btn_input_mult.Text = "*";
|
|
btn_input_mult.UseVisualStyleBackColor = true;
|
|
//
|
|
// btn_import_prev
|
|
//
|
|
btn_import_prev.Location = new Point(55, 149);
|
|
btn_import_prev.Name = "btn_import_prev";
|
|
btn_import_prev.Size = new Size(164, 88);
|
|
btn_import_prev.TabIndex = 26;
|
|
btn_import_prev.Text = "Importera föregående svar";
|
|
btn_import_prev.UseVisualStyleBackColor = true;
|
|
btn_import_prev.Visible = false;
|
|
btn_import_prev.Click += btn_import_prev_Click;
|
|
//
|
|
// lbl_number
|
|
//
|
|
lbl_number.Anchor = AnchorStyles.Top;
|
|
lbl_number.AutoSize = true;
|
|
lbl_number.Location = new Point(347, 65);
|
|
lbl_number.Name = "lbl_number";
|
|
lbl_number.Size = new Size(0, 25);
|
|
lbl_number.TabIndex = 27;
|
|
lbl_number.TextAlign = ContentAlignment.TopCenter;
|
|
//
|
|
// btn_next
|
|
//
|
|
btn_next.Location = new Point(584, 149);
|
|
btn_next.Name = "btn_next";
|
|
btn_next.Size = new Size(125, 72);
|
|
btn_next.TabIndex = 28;
|
|
btn_next.Text = "Nästa";
|
|
btn_next.UseVisualStyleBackColor = true;
|
|
btn_next.Visible = false;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(btn_next);
|
|
Controls.Add(lbl_number);
|
|
Controls.Add(btn_import_prev);
|
|
Controls.Add(btn_input_mult);
|
|
Controls.Add(btn_input_div);
|
|
Controls.Add(btn_input_sub);
|
|
Controls.Add(btn_input_add);
|
|
Controls.Add(lbl_main);
|
|
Controls.Add(btn_input_comma);
|
|
Controls.Add(btn_input_0);
|
|
Controls.Add(btn_input_1);
|
|
Controls.Add(btn_input_4);
|
|
Controls.Add(btn_input_7);
|
|
Controls.Add(btn_input_9);
|
|
Controls.Add(btn_input_8);
|
|
Controls.Add(btn_input_2);
|
|
Controls.Add(btn_input_5);
|
|
Controls.Add(btn_input_3);
|
|
Controls.Add(btn_input_6);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
public Button btn_input_6;
|
|
public Button btn_input_3;
|
|
public Button btn_input_5;
|
|
public Button btn_input_2;
|
|
public Button btn_input_8;
|
|
public Button btn_input_9;
|
|
public Button btn_input_7;
|
|
public Button btn_input_4;
|
|
public Button btn_input_1;
|
|
public Button btn_input_0;
|
|
public Button btn_input_comma;
|
|
public Label lbl_main;
|
|
public Button btn_input_add;
|
|
public Button btn_input_sub;
|
|
public Button btn_input_div;
|
|
public Button btn_input_mult;
|
|
public Button btn_import_prev;
|
|
public Label lbl_number;
|
|
public Button btn_next;
|
|
}
|
|
}
|