-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrmPiDay.Designer.cs
More file actions
150 lines (144 loc) · 4.84 KB
/
FrmPiDay.Designer.cs
File metadata and controls
150 lines (144 loc) · 4.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
namespace PiDay;
partial class FrmPiDay
{
/// <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()
{
label1 = new Label();
btnCalculatePI = new Button();
label2 = new Label();
txtDecimalDigits = new TextBox();
txtPI = new RichTextBox();
label3 = new Label();
cmbMethod = new ComboBox();
pbProgress = new ProgressBar();
SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(7, 9);
label1.Name = "label1";
label1.Size = new Size(29, 15);
label1.TabIndex = 0;
label1.Text = "π = ";
//
// btnCalculatePI
//
btnCalculatePI.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
btnCalculatePI.Location = new Point(12, 198);
btnCalculatePI.Name = "btnCalculatePI";
btnCalculatePI.Size = new Size(76, 21);
btnCalculatePI.TabIndex = 2;
btnCalculatePI.Text = "Calcule π";
btnCalculatePI.UseVisualStyleBackColor = true;
btnCalculatePI.Click += BtnCalculatePI_Click;
//
// label2
//
label2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
label2.AutoSize = true;
label2.Location = new Point(12, 139);
label2.Name = "label2";
label2.Size = new Size(90, 15);
label2.TabIndex = 3;
label2.Text = "Casas decimais:";
//
// txtDecimalDigits
//
txtDecimalDigits.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
txtDecimalDigits.Location = new Point(108, 136);
txtDecimalDigits.Name = "txtDecimalDigits";
txtDecimalDigits.Size = new Size(100, 23);
txtDecimalDigits.TabIndex = 4;
txtDecimalDigits.Text = "50";
//
// txtPI
//
txtPI.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
txtPI.Location = new Point(35, 6);
txtPI.Name = "txtPI";
txtPI.Size = new Size(676, 114);
txtPI.TabIndex = 5;
txtPI.Text = "";
//
// label3
//
label3.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
label3.AutoSize = true;
label3.Location = new Point(12, 169);
label3.Name = "label3";
label3.Size = new Size(52, 15);
label3.TabIndex = 6;
label3.Text = "Método:";
//
// cmbMethod
//
cmbMethod.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
cmbMethod.DropDownStyle = ComboBoxStyle.DropDownList;
cmbMethod.FormattingEnabled = true;
cmbMethod.Items.AddRange(new object[] { "Lento pra Cassete", "Rápido (Fórmula de Machin)", "Super Rápido (Algoritmo de Gauss-Legendre)" });
cmbMethod.Location = new Point(70, 166);
cmbMethod.Name = "cmbMethod";
cmbMethod.Size = new Size(266, 23);
cmbMethod.TabIndex = 7;
//
// pbProgress
//
pbProgress.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
pbProgress.Location = new Point(94, 196);
pbProgress.Name = "pbProgress";
pbProgress.Size = new Size(617, 23);
pbProgress.TabIndex = 8;
pbProgress.Visible = false;
//
// FrmPiDay
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(723, 228);
Controls.Add(pbProgress);
Controls.Add(cmbMethod);
Controls.Add(label3);
Controls.Add(txtPI);
Controls.Add(txtDecimalDigits);
Controls.Add(label2);
Controls.Add(btnCalculatePI);
Controls.Add(label1);
Name = "FrmPiDay";
Text = "Calculadora de π";
FormClosing += FrmPiDay_FormClosing;
Load += FrmPiDay_Load;
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label label1;
private Button btnCalculatePI;
private Label label2;
private TextBox txtDecimalDigits;
private RichTextBox txtPI;
private Label label3;
private ComboBox cmbMethod;
private ProgressBar pbProgress;
}