Es gibt jetzt hutprofil und kurzliner

This commit is contained in:
Husky
2018-07-21 15:31:10 +02:00
parent acec9fee09
commit 6d5f049650
20 changed files with 727 additions and 26 deletions

View File

@@ -183,5 +183,26 @@ namespace SanSystem
txt_objekt_name.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Objektbezeichnung"));
}
}
private void dgv_schadenkuerzel_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
{
DataGridView dataGridView = (DataGridView)sender;
if (dataGridView == null) return;
DataGridViewSelectedRowCollection dataGridViewRowsSelect = dataGridView.SelectedRows;
if (dataGridViewRowsSelect.Count > 1) return;
DataGridViewRow dgvr = dataGridViewRowsSelect[0];
Inspektionskuerzeln kuerzel = (dgvr.DataBoundItem as Inspektionskuerzeln);
if (kuerzel == null) return;
if (kuerzel.Sanierungskonzepts == null)
kuerzel.Sanierungskonzepts = new SanierungskonzeptCollection();
FrmSanKonzeptList frmSanKonzept = new FrmSanKonzeptList(kuerzel.Sanierungskonzepts);
//frmSanKonzept.MdiParent = this.MdiParent;
frmSanKonzept.ShowDialog();
}
}
}