Beispiel #1
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            FormModify fmn = new FormModify();

            fmn.ShowDialog();
            FillGrid();
        }
Beispiel #2
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            int        i   = dataGridView1.CurrentRow.Index;
            FormModify fme = new FormModify(this);

            fme.ShowDialog(this);
            FillGrid();
            dataGridView1.CurrentCell = dataGridView1.Rows[i].Cells[0];
        }