Languages

Multilanguage hinzugefügt muss noch weiter umgebaut werden

Bei fehlerhafte projektnummern, wird die zeile rot dargestellt
This commit is contained in:
Husky
2018-06-30 13:39:12 +02:00
parent 322cd4c991
commit d30876db34
23 changed files with 593 additions and 82 deletions

View File

@@ -31,16 +31,16 @@
this.components = new System.ComponentModel.Container();
this.dGObjekte = new System.Windows.Forms.DataGridView();
this.strasseBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.btn_add = new System.Windows.Forms.Button();
this.lbl_street = new System.Windows.Forms.Label();
this.lbl_projekt = new System.Windows.Forms.Label();
this.txt_strasse = new System.Windows.Forms.TextBox();
this.txt_pro_nr_1 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.txt_pro_nr_2 = new System.Windows.Forms.TextBox();
this.txt_pro_nr_3 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.lbl_ort = new System.Windows.Forms.Label();
this.txt_ort = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.dGObjekte)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.strasseBindingSource)).BeginInit();
@@ -57,38 +57,39 @@
this.dGObjekte.RowTemplate.Height = 24;
this.dGObjekte.Size = new System.Drawing.Size(957, 238);
this.dGObjekte.TabIndex = 0;
this.dGObjekte.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dGObjekte_DataBindingComplete);
this.dGObjekte.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dGObjekte_RowHeaderMouseDoubleClick);
//
// button1
// btn_add
//
this.button1.Location = new System.Drawing.Point(763, 387);
this.button1.Margin = new System.Windows.Forms.Padding(2);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(102, 101);
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(763, 387);
this.btn_add.Margin = new System.Windows.Forms.Padding(2);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(102, 101);
this.btn_add.TabIndex = 1;
this.btn_add.Text = "button1";
this.btn_add.UseVisualStyleBackColor = true;
this.btn_add.Click += new System.EventHandler(this.btn_add_Click);
//
// label1
// lbl_street
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(6, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 20);
this.label1.TabIndex = 2;
this.label1.Text = "Strassename";
this.lbl_street.AutoSize = true;
this.lbl_street.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_street.Location = new System.Drawing.Point(6, 9);
this.lbl_street.Name = "lbl_street";
this.lbl_street.Size = new System.Drawing.Size(104, 20);
this.lbl_street.TabIndex = 2;
this.lbl_street.Text = "Strassename";
//
// label2
// lbl_projekt
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(6, 49);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(116, 20);
this.label2.TabIndex = 3;
this.label2.Text = "Projektnummer";
this.lbl_projekt.AutoSize = true;
this.lbl_projekt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_projekt.Location = new System.Drawing.Point(6, 49);
this.lbl_projekt.Name = "lbl_projekt";
this.lbl_projekt.Size = new System.Drawing.Size(116, 20);
this.lbl_projekt.TabIndex = 3;
this.lbl_projekt.Text = "Projektnummer";
//
// txt_strasse
//
@@ -142,15 +143,15 @@
this.txt_pro_nr_3.Size = new System.Drawing.Size(100, 26);
this.txt_pro_nr_3.TabIndex = 9;
//
// label5
// lbl_ort
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Location = new System.Drawing.Point(549, 9);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(31, 20);
this.label5.TabIndex = 10;
this.label5.Text = "Ort";
this.lbl_ort.AutoSize = true;
this.lbl_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_ort.Location = new System.Drawing.Point(549, 9);
this.lbl_ort.Name = "lbl_ort";
this.lbl_ort.Size = new System.Drawing.Size(31, 20);
this.lbl_ort.TabIndex = 10;
this.lbl_ort.Text = "Ort";
//
// txt_ort
//
@@ -166,16 +167,16 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(971, 499);
this.Controls.Add(this.txt_ort);
this.Controls.Add(this.label5);
this.Controls.Add(this.lbl_ort);
this.Controls.Add(this.txt_pro_nr_3);
this.Controls.Add(this.txt_pro_nr_2);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.txt_pro_nr_1);
this.Controls.Add(this.txt_strasse);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Controls.Add(this.lbl_projekt);
this.Controls.Add(this.lbl_street);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.dGObjekte);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmObjekteList";
@@ -191,7 +192,7 @@
#endregion
private System.Windows.Forms.DataGridView dGObjekte;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btn_add;
private System.Windows.Forms.DataGridViewTextBoxColumn objektbezeichnungDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn vonPunktDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn bisPunktDataGridViewTextBoxColumn;
@@ -200,15 +201,15 @@
private System.Windows.Forms.DataGridViewTextBoxColumn haltungslaengeDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn sanierungDataGridViewTextBoxColumn;
private System.Windows.Forms.BindingSource strasseBindingSource;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lbl_street;
private System.Windows.Forms.Label lbl_projekt;
private System.Windows.Forms.TextBox txt_strasse;
private System.Windows.Forms.TextBox txt_pro_nr_1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txt_pro_nr_2;
private System.Windows.Forms.TextBox txt_pro_nr_3;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label lbl_ort;
private System.Windows.Forms.TextBox txt_ort;
}
}