Skip to content

Commit 1dea59e

Browse files
committed
Changed a process and window icon.
1 parent 9dc36c6 commit 1dea59e

File tree

5 files changed

+2644
-3
lines changed

5 files changed

+2644
-3
lines changed

WindowTextExtractor/Forms/MainForm.Designer.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

WindowTextExtractor/Forms/MainForm.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ public bool PreFilterMessage(ref Message m)
111111
var element = AutomationElement.FromPoint(new System.Windows.Point(cursorPosition.X, cursorPosition.Y));
112112
if (element != null && !element.Current.IsPassword && element.Current.ProcessId != _processId)
113113
{
114-
var text = element.GetTextFromConsole() ?? element.GetTextFromWindow();
115-
txtContent.Text = text;
114+
txtContent.Text = element.GetTextFromConsole() ?? element.GetTextFromWindow();
116115
txtContent.ScrollTextToEnd();
117116
UpdateStatusBar();
118117
}

0 commit comments

Comments
 (0)