Example #1
0
 private void btnCrear_Click(object sender, EventArgs e)
 {
     /*OpenChildForm(new Views.Marcas.frmMarcas());*/
     Views.Marcas.frmMarcas oFrmMarcas = new Views.Marcas.frmMarcas();
     oFrmMarcas.ShowDialog();
     Refresh();
 }
Example #2
0
        private void btnEditar_Click(object sender, EventArgs e)
        {
            int?Id_Marca = GetId();

            if (Id_Marca != null)
            {
                /*OpenChildForm(new Views.Marcas.frmMarcas(Id_Marca));*/
                Views.Marcas.frmMarcas oFrmMarcas = new Views.Marcas.frmMarcas(Id_Marca);
                oFrmMarcas.ShowDialog();
                Refresh();
            }
        }