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
81 lines
3.3 KiB
C#
81 lines
3.3 KiB
C#
namespace SanSystem
|
|
{
|
|
partial class frmStrassenList
|
|
{
|
|
/// <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()
|
|
{
|
|
this.lst_strassen = new System.Windows.Forms.ListBox();
|
|
this.btn_add = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// lst_strassen
|
|
//
|
|
this.lst_strassen.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.lst_strassen.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lst_strassen.FormattingEnabled = true;
|
|
this.lst_strassen.ItemHeight = 20;
|
|
this.lst_strassen.Location = new System.Drawing.Point(12, 59);
|
|
this.lst_strassen.Margin = new System.Windows.Forms.Padding(2);
|
|
this.lst_strassen.Name = "lst_strassen";
|
|
this.lst_strassen.Size = new System.Drawing.Size(190, 484);
|
|
this.lst_strassen.TabIndex = 0;
|
|
this.lst_strassen.DoubleClick += new System.EventHandler(this.lst_strassen_DoubleClick);
|
|
//
|
|
// btn_add
|
|
//
|
|
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
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(212, 546);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.btn_add);
|
|
this.Controls.Add(this.lst_strassen);
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|
this.Name = "frmStrassenList";
|
|
this.Text = "frmStrassenList";
|
|
this.Load += new System.EventHandler(this.frmStrassenList_Load);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListBox lst_strassen;
|
|
private System.Windows.Forms.Button btn_add;
|
|
}
|
|
} |