コード例 #1
0
 public CopiedWindow(WindowData windowData, string window, WindowData mainData, string mainWindow)
 {
     this.title      = windowData == null ? "[live display]" : windowData.Name;
     this.window     = window;
     this.mainWindow = mainWindow;
     this.windowData = windowData;
     this.mainData   = mainData;
 }
コード例 #2
0
 internal static IList <TreeNodeData> GetThreadsOrBelow(WindowCache wc, MainForm mf, Process parent, bool visibleOnly)
 {
     if (mf.DisplayThreads)
     {
         return(GetThreads(wc, mf, parent, visibleOnly));
     }
     else
     {
         return(WindowData.GetWindowsOrBelow(wc, mf, parent, null, visibleOnly));
     }
 }
コード例 #3
0
        private void UpdateProperties(SystemWindow sw)
        {
            if (!delayedUpdate.Checked && (sw.HWnd == windowProperties.Handle || sw.HWnd == parentProperties.Handle))
            {
                windowProperties.Text = "(recursive)";
                parentProperties.Text = "(recursive)";
            }
            delayedProperties = getWindowProperties(sw);
            windowData        = new WindowData(mf, sw);
            SystemWindow swParent = sw.ParentSymmetric;

            while (swParent != null)
            {
                sw       = swParent;
                swParent = sw.ParentSymmetric;
            }
            delayedMainProperties = getWindowProperties(sw);
            parentData            = new WindowData(mf, sw);
            if (!delayedUpdate.Checked)
            {
                windowProperties.Text = delayedProperties;
                parentProperties.Text = delayedMainProperties;
            }
        }
コード例 #4
0
 internal override IList <TreeNodeData> GetChildren(WindowCache wc, bool visibleOnly)
 {
     return(WindowData.GetWindowsOrBelow(wc, mf, process, thread, visibleOnly));
 }
コード例 #5
0
 internal override bool HasChildren(WindowCache wc, bool visibleOnly)
 {
     return(WindowData.HasWindowsOrBelow(wc, mf, process, thread, visibleOnly));
 }