Skip to content

Commit c642c6c

Browse files
Fix formatting, return tooltip to be private in FileDialog
(cherry picked from commit 21b1106)
1 parent 46cd126 commit c642c6c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

mcs/class/System.Windows.Forms/System.Windows.Forms/FileDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ internal class MWFFileView : ListView
22392239

22402240
private int filterIndex = 1;
22412241

2242-
public ToolTip toolTip;
2242+
private ToolTip toolTip;
22432243
private int oldItemIndexForToolTip = -1;
22442244

22452245
private ContextMenu contextMenu;

mcs/class/System.Windows.Forms/System.Windows.Forms/ListView.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ public ListView ()
287287

288288
v_scroll = new ImplicitVScrollBar ();
289289
Controls.AddImplicit (this.v_scroll);
290+
290291
h_marker = v_marker = 0;
291292
keysearch_tickcnt = 0;
292293

mcs/class/System.Windows.Forms/System.Windows.Forms/TreeView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,8 +2232,8 @@ private void MouseLeftItem (TreeNode item)
22322232
private ToolTip ToolTipWindow {
22332233
get {
22342234
if (tooltip_window == null)
2235-
tooltip_window = new ToolTip(this);
2236-
2235+
tooltip_window = new ToolTip (this);
2236+
22372237
return tooltip_window;
22382238
}
22392239
}

0 commit comments

Comments
 (0)