private void simpleButton4_Click(object sender, EventArgs e) { FrmCliente frm = new FrmCliente(); frm.ShowDialog(); cargarcomboCliente(); }
private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e) { FrmCliente frm = new FrmCliente(); frm.ShowDialog(); Form existe = Application.OpenForms.OfType <Form>().Where(pre => pre.Name == "FrmPedido").SingleOrDefault <Form>(); //if (existe != null) //{ // Midelegado deleg = new Midelegado(Capanegocio.Orm.Cliente.Cargar); // // FrmPedido. // //deleg(); //} }