示例#1
0
        private void btnSysHide_Click(object sender, RoutedEventArgs e)
        {
            ZProcess selectedProc = (ZProcess)listViewWindows.SelectedItem;

            Utils.SysHideWindow(selectedProc);
        }
示例#2
0
        private void btnForceMinimize_Click(object sender, RoutedEventArgs e)
        {
            ZProcess selectedProc = (ZProcess)listViewWindows.SelectedItem;

            Utils.ForceMinimizeWindow(selectedProc);
        }
示例#3
0
 public static void MinimizeWindow(ZProcess Proc)
 {
     ShowWindow(Proc.Handle, SW_MINIMIZE);
 }
示例#4
0
 internal static void HideWindow(ZProcess Proc)
 {
     ShowWindow(Proc.Handle, SW_HIDE);
 }
示例#5
0
 internal static void SysHideWindow(ZProcess Proc)
 {
     SendMessage(Proc.Handle, WM_SYSCOMMAND, SC_MINIMIZE, null);
 }
示例#6
0
 internal static void ForceMinimizeWindow(ZProcess Proc)
 {
     ShowWindow(Proc.Handle, SW_FORCEMINIMIZE);
 }