Пример #1
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            int id = int.Parse(dgvListEquipmentType.Rows[dgvListEquipmentType.CurrentRow.Index].Cells[0].Value.ToString());

            createForm = new EquipmentTypeControlForm(id);
            createForm.ShowDialog();
        }
Пример #2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     createForm = new EquipmentTypeControlForm();
     createForm.ShowDialog();
 }