Straßenliste speichert nun die einstellung

This commit is contained in:
HuskyTeufel
2021-04-09 21:40:56 +02:00
parent 88323fcd29
commit a2192323bc
7 changed files with 166 additions and 88 deletions

View File

@@ -28,35 +28,22 @@
/// </summary>
private void InitializeComponent()
{
this.lst_strassen = new System.Windows.Forms.ListBox();
this.btn_add = new System.Windows.Forms.Button();
this.rdbtn_street = new System.Windows.Forms.RadioButton();
this.rdbtn_ort = new System.Windows.Forms.RadioButton();
this.trv_street = new System.Windows.Forms.TreeView();
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, 130);
this.lst_strassen.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lst_strassen.Name = "lst_strassen";
this.lst_strassen.Size = new System.Drawing.Size(190, 424);
this.lst_strassen.TabIndex = 0;
this.lst_strassen.DoubleClick += new System.EventHandler(this.lst_strassen_DoubleClick);
//
// btn_add
//
this.btn_add.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btn_add.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_add.Image = global::SanSystem.Properties.Resources.Add1;
this.btn_add.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
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, 82);
this.btn_add.Size = new System.Drawing.Size(262, 82);
this.btn_add.TabIndex = 1;
this.btn_add.Text = "Neues \r\nObjekt hinzufügen";
this.btn_add.UseVisualStyleBackColor = true;
@@ -65,38 +52,55 @@
// rdbtn_street
//
this.rdbtn_street.AutoSize = true;
this.rdbtn_street.Location = new System.Drawing.Point(19, 107);
this.rdbtn_street.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rdbtn_street.Location = new System.Drawing.Point(19, 109);
this.rdbtn_street.Name = "rdbtn_street";
this.rdbtn_street.Size = new System.Drawing.Size(80, 17);
this.rdbtn_street.Size = new System.Drawing.Size(113, 24);
this.rdbtn_street.TabIndex = 2;
this.rdbtn_street.TabStop = true;
this.rdbtn_street.Text = "Straßenliste";
this.rdbtn_street.UseVisualStyleBackColor = true;
this.rdbtn_street.CheckedChanged += new System.EventHandler(this.rdbtn_street_CheckedChanged);
//
// rdbtn_ort
//
this.rdbtn_ort.AutoSize = true;
this.rdbtn_ort.Location = new System.Drawing.Point(110, 107);
this.rdbtn_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rdbtn_ort.Location = new System.Drawing.Point(138, 109);
this.rdbtn_ort.Name = "rdbtn_ort";
this.rdbtn_ort.Size = new System.Drawing.Size(63, 17);
this.rdbtn_ort.Size = new System.Drawing.Size(86, 24);
this.rdbtn_ort.TabIndex = 3;
this.rdbtn_ort.TabStop = true;
this.rdbtn_ort.Text = "Ortsteile";
this.rdbtn_ort.UseVisualStyleBackColor = true;
this.rdbtn_ort.CheckedChanged += new System.EventHandler(this.rdbtn_street_CheckedChanged);
//
// trv_street
//
this.trv_street.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.trv_street.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.trv_street.Location = new System.Drawing.Point(12, 139);
this.trv_street.Name = "trv_street";
this.trv_street.Size = new System.Drawing.Size(263, 415);
this.trv_street.TabIndex = 4;
this.trv_street.DoubleClick += new System.EventHandler(this.trv_street_DoubleClick);
//
// frmStrassenList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(212, 565);
this.ClientSize = new System.Drawing.Size(288, 565);
this.ControlBox = false;
this.Controls.Add(this.trv_street);
this.Controls.Add(this.rdbtn_ort);
this.Controls.Add(this.rdbtn_street);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.lst_strassen);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmStrassenList";
this.Text = "Strassen";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmStrassenList_FormClosing);
this.Load += new System.EventHandler(this.frmStrassenList_Load);
this.ResumeLayout(false);
this.PerformLayout();
@@ -104,10 +108,9 @@
}
#endregion
private System.Windows.Forms.ListBox lst_strassen;
private System.Windows.Forms.Button btn_add;
private System.Windows.Forms.RadioButton rdbtn_street;
private System.Windows.Forms.RadioButton rdbtn_ort;
private System.Windows.Forms.TreeView trv_street;
}
}