Es gibt jetzt hutprofil und kurzliner
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user