Exemplo n.º 1
0
 private void ToShutdown(String flag)
 {
     Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, (DispatcherOperationCallback) delegate(object o)
     {
         ProcessManager.ShutDownWindows(flag);
         return(null);
     }, null);
 }