private void buttonEditar_Click(object sender, EventArgs e) { ConsultarEditarCliente ec = new ConsultarEditarCliente(dataGridViewCliente, true) { Owner = this }; ec.Owner = this; ec.Deactivate += new EventHandler(Grid_Load); ec.Show(); }
private void button1_Click_1(object sender, EventArgs e) { ConsultarEditarCliente cc = new ConsultarEditarCliente(dataGridViewCliente, false) { Owner = this }; cc.Owner = this; cc.Deactivate += new EventHandler(Grid_Load); cc.Show(); }