예제 #1
0
        private void simpleButton4_Click(object sender, EventArgs e)
        {
            FrmCliente frm = new FrmCliente();

            frm.ShowDialog();
            cargarcomboCliente();
        }
예제 #2
0
        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();

            //}
        }