Beispiel #1
0
        private void btNewTargetOrganization_Click(object sender, EventArgs e)
        {
            TargetOrganizationEdit form = new TargetOrganizationEdit(_DB_Connection);

            form.ShowDialog();
            UpdateTable();
        }
Beispiel #2
0
 private void btRename_Click(object sender, EventArgs e)
 {
     if (dgvTargetOrganizations.SelectedRows.Count == 0)
     {
         MessageBox.Show("Выберите строку");
     }
     else
     {
         TargetOrganizationEdit form = new TargetOrganizationEdit(_DB_Connection, (uint)dgvTargetOrganizations.SelectedRows[0].Cells[0].Value);
         form.ShowDialog();
         UpdateTable();
     }
 }