private void btnSysHide_Click(object sender, RoutedEventArgs e)
        {
            ZProcess selectedProc = (ZProcess)listViewWindows.SelectedItem;

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

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