You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
257 lines
11 KiB
C#
257 lines
11 KiB
C#
using System.Windows.Forms;
|
|
|
|
namespace B_GOP01XX_XX2_K03_Aufgabe_5_P_Ostmann
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Erforderliche Designervariable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Verwendete Ressourcen bereinigen.
|
|
/// </summary>
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
/// <summary>
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.t1_stunden = new System.Windows.Forms.TextBox();
|
|
this.t1_minuten = new System.Windows.Forms.TextBox();
|
|
this.t1_sekunden = new System.Windows.Forms.TextBox();
|
|
this.t2_stunden = new System.Windows.Forms.TextBox();
|
|
this.t2_minuten = new System.Windows.Forms.TextBox();
|
|
this.t2_sekunden = new System.Windows.Forms.TextBox();
|
|
this.differenz_stunden = new System.Windows.Forms.TextBox();
|
|
this.differenz_minuten = new System.Windows.Forms.TextBox();
|
|
this.differenz_sekunden = new System.Windows.Forms.TextBox();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(23, 29);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(84, 13);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Zeitpunkt T1:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label2.Location = new System.Drawing.Point(23, 89);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(84, 13);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Zeitpunkt T2:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label3.Location = new System.Drawing.Point(23, 169);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(96, 13);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Differenz T2-T1";
|
|
//
|
|
// t1_stunden
|
|
//
|
|
this.t1_stunden.Location = new System.Drawing.Point(169, 26);
|
|
this.t1_stunden.Name = "t1_stunden";
|
|
this.t1_stunden.Size = new System.Drawing.Size(59, 20);
|
|
this.t1_stunden.TabIndex = 3;
|
|
this.t1_stunden.TextChanged += new System.EventHandler(this.t1_stunden_TextChanged);
|
|
//
|
|
// t1_minuten
|
|
//
|
|
this.t1_minuten.Location = new System.Drawing.Point(234, 26);
|
|
this.t1_minuten.Name = "t1_minuten";
|
|
this.t1_minuten.Size = new System.Drawing.Size(59, 20);
|
|
this.t1_minuten.TabIndex = 4;
|
|
this.t1_minuten.TextChanged += new System.EventHandler(this.t1_minuten_TextChanged);
|
|
//
|
|
// t1_sekunden
|
|
//
|
|
this.t1_sekunden.Location = new System.Drawing.Point(299, 26);
|
|
this.t1_sekunden.Name = "t1_sekunden";
|
|
this.t1_sekunden.Size = new System.Drawing.Size(60, 20);
|
|
this.t1_sekunden.TabIndex = 5;
|
|
this.t1_sekunden.TextChanged += new System.EventHandler(this.t1_sekunden_TextChanged);
|
|
//
|
|
// t2_stunden
|
|
//
|
|
this.t2_stunden.Location = new System.Drawing.Point(169, 86);
|
|
this.t2_stunden.Name = "t2_stunden";
|
|
this.t2_stunden.Size = new System.Drawing.Size(59, 20);
|
|
this.t2_stunden.TabIndex = 6;
|
|
this.t2_stunden.TextChanged += new System.EventHandler(this.t2_stunden_TextChanged);
|
|
//
|
|
// t2_minuten
|
|
//
|
|
this.t2_minuten.Location = new System.Drawing.Point(234, 86);
|
|
this.t2_minuten.Name = "t2_minuten";
|
|
this.t2_minuten.Size = new System.Drawing.Size(59, 20);
|
|
this.t2_minuten.TabIndex = 7;
|
|
this.t2_minuten.TextChanged += new System.EventHandler(this.t2_minuten_TextChanged);
|
|
//
|
|
// t2_sekunden
|
|
//
|
|
this.t2_sekunden.Location = new System.Drawing.Point(299, 86);
|
|
this.t2_sekunden.Name = "t2_sekunden";
|
|
this.t2_sekunden.Size = new System.Drawing.Size(60, 20);
|
|
this.t2_sekunden.TabIndex = 8;
|
|
this.t2_sekunden.TextChanged += new System.EventHandler(this.t2_sekunden_TextChanged);
|
|
//
|
|
// differenz_stunden
|
|
//
|
|
this.differenz_stunden.Location = new System.Drawing.Point(169, 166);
|
|
this.differenz_stunden.Name = "differenz_stunden";
|
|
this.differenz_stunden.ReadOnly = true;
|
|
this.differenz_stunden.Size = new System.Drawing.Size(59, 20);
|
|
this.differenz_stunden.TabIndex = 9;
|
|
//
|
|
// differenz_minuten
|
|
//
|
|
this.differenz_minuten.Location = new System.Drawing.Point(234, 166);
|
|
this.differenz_minuten.Name = "differenz_minuten";
|
|
this.differenz_minuten.ReadOnly = true;
|
|
this.differenz_minuten.Size = new System.Drawing.Size(59, 20);
|
|
this.differenz_minuten.TabIndex = 10;
|
|
//
|
|
// differenz_sekunden
|
|
//
|
|
this.differenz_sekunden.Location = new System.Drawing.Point(299, 166);
|
|
this.differenz_sekunden.Name = "differenz_sekunden";
|
|
this.differenz_sekunden.ReadOnly = true;
|
|
this.differenz_sekunden.Size = new System.Drawing.Size(60, 20);
|
|
this.differenz_sekunden.TabIndex = 11;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(390, 23);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 12;
|
|
this.button1.Text = "Berechnen";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Location = new System.Drawing.Point(390, 166);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
this.button2.TabIndex = 13;
|
|
this.button2.Text = "Löschen";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label4.Location = new System.Drawing.Point(188, 9);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(14, 13);
|
|
this.label4.TabIndex = 14;
|
|
this.label4.Text = "h";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label5.Location = new System.Drawing.Point(258, 9);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(16, 13);
|
|
this.label5.TabIndex = 15;
|
|
this.label5.Text = "m";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label6.Location = new System.Drawing.Point(326, 9);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(13, 13);
|
|
this.label6.TabIndex = 16;
|
|
this.label6.Text = "s";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.ButtonFace;
|
|
this.ClientSize = new System.Drawing.Size(505, 223);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.differenz_sekunden);
|
|
this.Controls.Add(this.differenz_minuten);
|
|
this.Controls.Add(this.differenz_stunden);
|
|
this.Controls.Add(this.t2_sekunden);
|
|
this.Controls.Add(this.t2_minuten);
|
|
this.Controls.Add(this.t2_stunden);
|
|
this.Controls.Add(this.t1_sekunden);
|
|
this.Controls.Add(this.t1_minuten);
|
|
this.Controls.Add(this.t1_stunden);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Zeitdifferenz";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox t1_minuten;
|
|
private TextBox t1_sekunden;
|
|
private TextBox t2_stunden;
|
|
private TextBox t2_minuten;
|
|
private TextBox t2_sekunden;
|
|
private TextBox differenz_stunden;
|
|
private TextBox differenz_minuten;
|
|
private TextBox differenz_sekunden;
|
|
private Button button1;
|
|
private Button button2;
|
|
private Label label4;
|
|
private Label label5;
|
|
private Label label6;
|
|
public TextBox t1_stunden;
|
|
}
|
|
}
|
|
|