felder Frieren nun nicht mehr ein, problem lag beim Databinding. Fand Statt im on load methode, dies führte dazu dass beim datumpicker, der noch nicht angezeigt wurde, die felder einfrieren.

Schnittstelle für Temperatur erweitert.

Beim schließen des forms, wird die Straßenliste neugebaut
This commit is contained in:
Husky
2018-06-30 11:58:42 +02:00
parent 8cf246893b
commit 322cd4c991
13 changed files with 491 additions and 364 deletions

View File

@@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.lst_strassen = new System.Windows.Forms.ListBox();
this.button1 = new System.Windows.Forms.Button();
this.btn_add = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lst_strassen
@@ -45,18 +45,17 @@
this.lst_strassen.Name = "lst_strassen";
this.lst_strassen.Size = new System.Drawing.Size(190, 484);
this.lst_strassen.TabIndex = 0;
this.lst_strassen.SelectedIndexChanged += new System.EventHandler(this.lst_strassen_SelectedIndexChanged);
this.lst_strassen.DoubleClick += new System.EventHandler(this.lst_strassen_DoubleClick);
//
// button1
// btn_add
//
this.button1.Location = new System.Drawing.Point(12, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(89, 42);
this.button1.TabIndex = 1;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
this.btn_add.Location = new System.Drawing.Point(12, 12);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(188, 42);
this.btn_add.TabIndex = 1;
this.btn_add.Text = "Neues Objekt hinzufügen";
this.btn_add.UseVisualStyleBackColor = true;
this.btn_add.Click += new System.EventHandler(this.btn_add_Click);
//
// frmStrassenList
//
@@ -64,7 +63,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(212, 546);
this.ControlBox = false;
this.Controls.Add(this.button1);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.lst_strassen);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmStrassenList";
@@ -77,6 +76,6 @@
#endregion
private System.Windows.Forms.ListBox lst_strassen;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btn_add;
}
}