TODO int overflow fix

This commit is contained in:
szabomarton
2024-03-18 11:19:12 +01:00
parent a6d8fda3ac
commit ae34a5b001
42 changed files with 853 additions and 60 deletions

View File

@@ -32,12 +32,10 @@ namespace WindowsFormsApp1
this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.timer2 = new System.Windows.Forms.Timer(this.components);
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// button1
@@ -60,15 +58,6 @@ namespace WindowsFormsApp1
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(181, 81);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 13);
this.label1.TabIndex = 2;
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// timer1
//
this.timer1.Enabled = true;
@@ -77,46 +66,40 @@ namespace WindowsFormsApp1
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(128, 106);
this.textBox1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.textBox1.Location = new System.Drawing.Point(115, 147);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 3;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
this.textBox1.Size = new System.Drawing.Size(135, 26);
this.textBox1.TabIndex = 4;
//
// textBox2
// label1
//
this.textBox2.Location = new System.Drawing.Point(128, 147);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 20);
this.textBox2.TabIndex = 4;
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
this.label1.ForeColor = System.Drawing.Color.Yellow;
this.label1.Location = new System.Drawing.Point(128, 190);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 26);
this.label1.TabIndex = 5;
this.label1.Click += new System.EventHandler(this.label2_Click);
//
// timer2
//
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(128, 190);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(0, 13);
this.label2.TabIndex = 5;
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Navy;
this.ClientSize = new System.Drawing.Size(362, 450);
this.Controls.Add(this.label2);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.Name = "Form1";
this.Text = "Form1";
this.Text = "Stopper";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
@@ -127,12 +110,10 @@ namespace WindowsFormsApp1
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer2;
private System.Windows.Forms.Label label2;
}
}