コード例 #1
0
 private static bool SetWorkspace(SEBWorkingAreaHandler.RECT rect)
 {
     try
     {
         return(SEBWorkingAreaHandler.SystemParametersInfo(47, (int)IntPtr.Zero, ref rect, 3));
     }
     catch (Exception ex)
     {
         Logger.AddError("Unable to set Working Area", (object)null, ex, (string)null);
         return(false);
     }
 }
コード例 #2
0
 private static extern bool SystemParametersInfo(int uiAction, int uiParam, ref SEBWorkingAreaHandler.RECT pvParam, int fWinIni);