GeschlossenesEnde wird nun gespeichert

This commit is contained in:
Husky
2019-08-08 21:05:38 +02:00
parent 98eb4351fd
commit bf019037f2
4 changed files with 33 additions and 25 deletions

View File

@@ -84,6 +84,7 @@ namespace SanSystem
txt_pro_nr.DataBindings.Add(new Binding("Text", inspektionsobjekt, "ProjektNummer"));
dt_haltunggemessen_datum.DataBindings.Add(new Binding("Value", inspektionsobjekt, "HaltungGemessen"));
txt_bemerkung.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Bemerkung"));
cb_geschlossenesEnde.DataBindings.Add(new Binding("Checked", inspektionsobjekt, "GeschlossenesEnde"));
}
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
@@ -112,6 +113,8 @@ namespace SanSystem
dt_haltunggemessen_datum.DataBindings.Clear();
txt_bemerkung.DataBindings.Clear();
txt_ort.DataBindings.Clear();
cb_geschlossenesEnde.DataBindings.Clear();
//MessageBox.Show(string.Format("width: {0} height: {1}", width, height));
this.Close();
}