@@ -21,7 +21,7 @@ public class OpenResourceForm : SmartForm
21
21
private System . Windows . Forms . Label infoLabel ;
22
22
private System . Windows . Forms . TextBox textBox ;
23
23
private System . Windows . Forms . ListBox listBox ;
24
- private System . Windows . Forms . CheckBox cbInClasspathsOnly ;
24
+ private System . Windows . Forms . CheckBox cbInClasspathsOnly ;
25
25
private System . Windows . Forms . CheckBox checkBox ;
26
26
private System . Windows . Forms . Button refreshButton ;
27
27
@@ -47,7 +47,7 @@ private void InitializeComponent()
47
47
this . infoLabel = new System . Windows . Forms . Label ( ) ;
48
48
this . textBox = new System . Windows . Forms . TextBox ( ) ;
49
49
this . listBox = new System . Windows . Forms . ListBox ( ) ;
50
- this . cbInClasspathsOnly = new System . Windows . Forms . CheckBox ( ) ;
50
+ this . cbInClasspathsOnly = new System . Windows . Forms . CheckBox ( ) ;
51
51
this . checkBox = new System . Windows . Forms . CheckBox ( ) ;
52
52
this . refreshButton = new System . Windows . Forms . Button ( ) ;
53
53
this . SuspendLayout ( ) ;
@@ -79,23 +79,23 @@ private void InitializeComponent()
79
79
this . refreshButton . Size = new System . Drawing . Size ( 26 , 23 ) ;
80
80
this . refreshButton . TabIndex = 4 ;
81
81
this . refreshButton . Click += new EventHandler ( RefreshButtonClick ) ;
82
- //
83
- // cbInClasspathsOnly
84
- //
85
- this . cbInClasspathsOnly . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Right ) ) ) ;
86
- this . cbInClasspathsOnly . Location = new System . Drawing . Point ( 380 , 9 ) ;
87
- this . cbInClasspathsOnly . Size = new System . Drawing . Size ( 26 , 24 ) ;
88
- this . cbInClasspathsOnly . Text = "In Classpaths only" ;
89
- this . cbInClasspathsOnly . Name = "cbInClasspathsOnly" ;
90
- this . cbInClasspathsOnly . AutoSize = true ;
91
- this . cbInClasspathsOnly . TabIndex = 2 ;
92
- this . cbInClasspathsOnly . Checked = false ;
93
- this . cbInClasspathsOnly . CheckedChanged += new System . EventHandler ( this . CbInClasspathsOnlyCheckedChanged ) ;
82
+ //
83
+ // cbInClasspathsOnly
84
+ //
85
+ this . cbInClasspathsOnly . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Right ) ) ) ;
86
+ this . cbInClasspathsOnly . Location = new System . Drawing . Point ( 380 , 9 ) ;
87
+ this . cbInClasspathsOnly . Size = new System . Drawing . Size ( 26 , 24 ) ;
88
+ this . cbInClasspathsOnly . Text = "In Classpaths only" ;
89
+ this . cbInClasspathsOnly . Name = "cbInClasspathsOnly" ;
90
+ this . cbInClasspathsOnly . AutoSize = true ;
91
+ this . cbInClasspathsOnly . TabIndex = 2 ;
92
+ this . cbInClasspathsOnly . Checked = false ;
93
+ this . cbInClasspathsOnly . CheckedChanged += new System . EventHandler ( this . CbInClasspathsOnlyCheckedChanged ) ;
94
94
//
95
95
// checkBox
96
96
//
97
97
this . checkBox . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Right ) ) ) ;
98
- this . checkBox . Location = new System . Drawing . Point ( 480 , 9 ) ;
98
+ this . checkBox . Location = new System . Drawing . Point ( 480 , 9 ) ;
99
99
this . checkBox . Size = new System . Drawing . Size ( 26 , 24 ) ;
100
100
this . checkBox . Text = "Code files only" ;
101
101
this . checkBox . Name = "checkBox" ;
@@ -122,7 +122,7 @@ private void InitializeComponent()
122
122
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 13F ) ;
123
123
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Font ;
124
124
this . ClientSize = new System . Drawing . Size ( 522 , 340 ) ;
125
- this . Controls . Add ( this . cbInClasspathsOnly ) ;
125
+ this . Controls . Add ( this . cbInClasspathsOnly ) ;
126
126
this . Controls . Add ( this . listBox ) ;
127
127
this . Controls . Add ( this . textBox ) ;
128
128
this . Controls . Add ( this . refreshButton ) ;
@@ -166,7 +166,7 @@ private void InitializeGraphics()
166
166
private void InitializeLocalization ( )
167
167
{
168
168
this . infoLabel . Text = TextHelper . GetString ( "Label.SearchString" ) ;
169
- this . cbInClasspathsOnly . Text = TextHelper . GetString ( "Label.InClasspathsOnly" ) ;
169
+ this . cbInClasspathsOnly . Text = TextHelper . GetString ( "Label.InClasspathsOnly" ) ;
170
170
this . checkBox . Text = TextHelper . GetString ( "Label.CodeFilesOnly" ) ;
171
171
this . Text = " " + TextHelper . GetString ( "Title.OpenResource" ) ;
172
172
}
@@ -400,7 +400,7 @@ public List<String> GetProjectFolders()
400
400
{
401
401
String projectFolder = Path . GetDirectoryName ( PluginBase . CurrentProject . ProjectPath ) ;
402
402
List < String > folders = new List < String > ( ) ;
403
- if ( ! cbInClasspathsOnly . Checked ) folders . Add ( projectFolder ) ;
403
+ if ( ! cbInClasspathsOnly . Checked ) folders . Add ( projectFolder ) ;
404
404
if ( ! PluginMain . Settings . SearchExternalClassPath ) return folders ;
405
405
foreach ( String path in PluginBase . CurrentProject . SourcePaths )
406
406
{
0 commit comments