예제 #1
0
        private async void frPpal_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
        {
            if (frPpal.Content == null)
            {
                contador = 0; return;
            }
            if (frPpal.Content.GetType() == typeof(Planillas) && contador < 1)
            {
                contador += 1;
                await empleados.Edit();

                Empleados.edit = true;
                empleados.tbApellido.Focus();
                frPpal.Navigate(empleados);
                Empleados.cargarEdit = false;
                contador             = 0;
            }
        }