Skip to content

Commit

Permalink
Bugfix: when click outside the datagridview, no window is selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
celeron533 committed Mar 20, 2016
1 parent f41fc1a commit 61f93dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions Stealth.Winform/MainFOrm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions Stealth.Winform/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ private void dataGridView_WindowList_RowEnter(object sender, DataGridViewCellEve
textBox_Title.Text = selectedWindow.windowTitle;
}

//when user deselect a row
private void dataGridView_WindowList_RowLeave(object sender, DataGridViewCellEventArgs e)
{
selectedWindow = null;
textBox_Title.Text = string.Empty;
}

#endregion

#region WindowDetail
Expand Down

0 comments on commit 61f93dc

Please sign in to comment.