コード例 #1
0
 public static bool WindowsActions(string windowsTittle)
 {
     try
     {
         IntPtr w = Auxiliar.FindWindowByCaption(IntPtr.Zero, windowsTittle);
         Auxiliar.ShowWindow(w, Auxiliar.SW_SHOWNORMAL);
         return(Auxiliar.ShowWindow(w, Auxiliar.SW_MAXIMIZE));
     }
     catch
     {
         return(false);
     }
 }