Skip to content

Commit ea8346a

Browse files
committed
layout
1 parent 37842f2 commit ea8346a

File tree

3 files changed

+99
-39
lines changed

3 files changed

+99
-39
lines changed

OneMore/Commands/Search/SearchDialog.Designer.cs

Lines changed: 18 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OneMore/Commands/Search/SearchDialog.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ public SearchDialog()
2323
Text = Resx.word_Search;
2424
}
2525

26-
var actSheet = tabControl.TabPages["searchAndGoTab"].Controls[0] as SearchDialogActionControl;
26+
var actTab = tabControl.TabPages["searchAndGoTab"];
27+
var actSheet = actTab.Controls[0] as SearchDialogActionControl;
2728
actSheet.SearchClosing += ClosingSearch;
2829

29-
var textSheet = tabControl.TabPages["searchTab"].Controls[0] as SearchDialogTextControl;
30+
var textTab = tabControl.TabPages["searchTab"];
31+
var textSheet = textTab.Controls[0] as SearchDialogTextControl;
3032
textSheet.SearchClosing += ClosingSearch;
3133

3234
ElevatedWithOneNote = true;

OneMore/Commands/Search/SearchDialogTextControl.Designer.cs

Lines changed: 77 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)