Esempio n. 1
0
 /// <summary>
 /// 将窗口移动到左上角(避免遮挡)
 /// </summary>
 private void MoveLeftTopSide()
 {
     try
     {
         if (curhWnd != null && curhWnd.ToInt32() > 0)
         {
             WindowFormAPI.SetForegroundWindow(curhWnd);
             WindowFormAPI.MoveWindow(curhWnd, 0, 0, 410, 300, true);
         }
     }
     catch (Exception)
     {
     }
 }