System.Diagnostics.Process.CloseMainWindow C# (CSharp) 메소드

CloseMainWindow() 공개 메소드

public CloseMainWindow ( ) : bool
리턴 bool
        public bool CloseMainWindow() { throw null; }
        protected override void Dispose(bool disposing) { }

Usage Example

예제 #1
1
 public static void kill(Process P,bool force)
 {
     if (!isKilling(P) && P.Id != Process.GetCurrentProcess().Id)
     {
         if (force)
         {
             new frmKill(P).Show();
         }
         else
         {
             try
             {
                 P.CloseMainWindow();
             }
             catch
             {
                 //NOOP
             }
         }
     }
 }
All Usage Examples Of System.Diagnostics.Process::CloseMainWindow