Пример #1
0
        private void DgvInccident_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Incident incident = dgvInccident.CurrentRow.DataBoundItem as Incident;

            if (incident == null)
            {
                return;
            }

            LocationForm form = new LocationForm(incident);

            form.ShowDialog();
        }
Пример #2
0
        private void Location_btn_Click(object sender, EventArgs e)
        {
            LocationForm locFrm = new LocationForm();

            locFrm.ShowDialog();
        }