Example #1
0
 //bloqueo
 public void bloqueo()
 {
     Taskbar.Hide();
     KillCtrlAltDelete();
     Dispatcher.Invoke(() =>
     {
         // Set property or change UI compomponents.
         this.Show();
         txt_cuenta.Focus();
     });
 }
Example #2
0
        //desbloqueo
        public void desbloqueo(int id)
        {
            //formState.Restore(this);
            Taskbar.Show();
            EnableCTRLALTDEL();
            Dispatcher.Invoke(() =>
            {
                // Set property or change UI compomponents.
                this.Hide();
                Displaynotify(id);
            });

            //Application.Current.Shutdown();
        }