Exemple #1
0
        private void btn_nuevo_Click(object sender, EventArgs e)
        {
            Frm_Cliente frm = new Frm_Cliente();

            frm.Closed += new EventHandler(frm_Closed);
            frm.Titulo("Agregar Cliente");
            frm.ShowDialog();
        }
Exemple #2
0
        public void Pasar_Datos()
        {
            if (DG.RowCount == 0)
            {
                return;
            }
            CLIENTES obj = new CLIENTES();

            obj.REFERENCIA = DG.SelectedCells[0].Value.ToString();
            Frm_Cliente frm = new Frm_Cliente();

            frm.Recibir_Datos(obj);
            frm.Titulo("Editar Cliente");
            frm.Closed += new EventHandler(frm_Closed);
            frm.ShowDialog();
        }