예제 #1
0
        private void stolenOrphanWindowsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SearchResultForm srf = new SearchResultForm(this, "Stolen/Orphan Windows", "{.}");

            foreach (SystemWindow sw in SystemWindow.AllToplevelWindows)
            {
                searchOrphanWindows(srf, sw);
            }
            srf.Finish();
        }
예제 #2
0
        private void windowsByTitleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string prefix = InputBox.Show(this, "Find windows by title starting with:", "");

            if (prefix == null)
            {
                return;
            }
            SearchResultForm srf = new SearchResultForm(this, "Windows by title starting with \"" + prefix + "\"", prefix);

            foreach (SystemWindow sw in SystemWindow.AllToplevelWindows)
            {
                searchWindows(srf, sw, false);
            }
            srf.Finish();
        }
예제 #3
0
 private void windowsByTitleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     string prefix = InputBox.Show(this, "Find windows by title starting with:", "");
     if (prefix == null) return;
     SearchResultForm srf = new SearchResultForm(this, "Windows by title starting with \"" + prefix + "\"", prefix);
     foreach (SystemWindow sw in SystemWindow.AllToplevelWindows)
     {
         searchWindows(srf, sw, false);
     }
     srf.Finish();
 }
예제 #4
0
 private void stolenOrphanWindowsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SearchResultForm srf = new SearchResultForm(this, "Stolen/Orphan Windows", "{.}");
     foreach (SystemWindow sw in SystemWindow.AllToplevelWindows)
     {
         searchOrphanWindows(srf, sw);
     }
     srf.Finish();
 }