Exemplo n.º 1
0
        private void AddEmployeeButton_Click(object sender, EventArgs e)
        {
            AddRegion form = new AddRegion();

            form.FormClosed += (s, args) => BindData();
            form.Show();
        }
Exemplo n.º 2
0
        private void EditToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddRegion form = new AddRegion(dataGridView1.CurrentRow.Cells[0].Value.ToString(), dataGridView1.CurrentRow.Cells[1].Value.ToString(),
                                           dataGridView1.CurrentRow.Cells[2].Value.ToString());

            form.FormClosed += (s, args) => BindData();
            form.Show();
        }