private void btn_agregar_Click(object sender, EventArgs e) { Form_M_Funcionario_Agregar popUpAgregar = new Form_M_Funcionario_Agregar(this); popUpAgregar.Show(); this.Enabled = false; }
private void mtAgregar_Click(object sender, EventArgs e) { //Se abre un formulario para ingresar los datos Form_M_Funcionario_Agregar popUpAgregar = new Form_M_Funcionario_Agregar(mainForm, this); popUpAgregar.Show(); this.Visible = false; }