Пример #1
0
        private void dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            addedit form = new addedit(2, Convert.ToInt32(dgv.CurrentRow.Cells[0].Value));

            form.Show();
        }
Пример #2
0
        private void add_btn_Click(object sender, EventArgs e)
        {
            addedit form = new addedit(1, 1);

            form.Show();
        }