File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
- using System . ComponentModel ;
4
3
using System . Data ;
5
4
using System . Diagnostics . Contracts ;
6
- using System . Drawing ;
7
5
using System . Linq ;
8
- using System . Text ;
9
- using System . Threading . Tasks ;
10
6
using System . Windows . Forms ;
11
7
using ReClassNET . Nodes ;
8
+ using ReClassNET . UI ;
12
9
13
10
namespace ReClassNET . Forms
14
11
{
@@ -29,6 +26,20 @@ public ClassSelectionForm(IEnumerable<ClassNode> classes)
29
26
ShowFilteredClasses ( ) ;
30
27
}
31
28
29
+ protected override void OnLoad ( EventArgs e )
30
+ {
31
+ base . OnLoad ( e ) ;
32
+
33
+ GlobalWindowManager . AddWindow ( this ) ;
34
+ }
35
+
36
+ protected override void OnFormClosed ( FormClosedEventArgs e )
37
+ {
38
+ base . OnFormClosed ( e ) ;
39
+
40
+ GlobalWindowManager . RemoveWindow ( this ) ;
41
+ }
42
+
32
43
private void filterNameTextBox_TextChanged ( object sender , EventArgs e )
33
44
{
34
45
ShowFilteredClasses ( ) ;
You can’t perform that action at this time.
0 commit comments