示例#1
0
        public void OnBot()
        {
            IntPtr hwnd = new WindowInteropHelper(this).Handle;

            TopMostTool.UnSetTopmost(hwnd);
            WindowState = WindowState.Minimized;
        }
示例#2
0
        public void OnTop()
        {
            IntPtr hwnd = new WindowInteropHelper(this).Handle;

            TopMostTool.SetTopmost(hwnd);
            WindowState = WindowState.Normal;
        }