//**************************************************************************************************** //************** A R E A S *************************************************************************** //**************************************************************************************************** private void áreasToolStripMenuItem_Click(object sender, EventArgs e) { try { frmAreas child = new frmAreas(); this.validaFormsDuplicados(child.GetType()); child.MdiParent = this; child.Show(); } catch (Exception Ex) { MessageBox.Show(Ex.Message, "Activos", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }
private void btnAgregaArea_Click(object sender, EventArgs e) { try { frmAreas form = new frmAreas(); form.ShowDialog(); if (this.cmbSucursal.SelectedIndex != -1) { this.cmbSucursal_SelectionChangeCommitted(null, null); } } catch (Exception Ex) { MessageBox.Show(Ex.Message, "Confirmar Traspaso", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }