예제 #1
0
        private async void btnAgregar_Click(object sender, EventArgs e)
        {
            FrmRegistro re = new FrmRegistro();

            re.ShowDialog();
            await Refrescar();
        }
예제 #2
0
 private async void btnModificar_Click(object sender, EventArgs e)
 {
     if (GetId() != null)
     {
         FrmRegistro re = new FrmRegistro((int)GetId());
         re.ShowDialog();
         await Refrescar();
     }
 }