File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public static void ShowTheDialog()
160
160
{
161
161
AppDomain . CurrentDomain . SetupInformation . PrivateBinPath = @"plugins\CSharpRegexTools4Npp" ;
162
162
163
- IntPtr hWnd = FindWindow ( null , "C# Regex Tools - " + Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version . ToString ( ) ) ;
163
+ IntPtr hWnd = FindWindow ( null , $ "C# Regex Tools - { Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version } " ) ;
164
164
165
165
if ( hWnd . ToInt64 ( ) > 0 )
166
166
{
@@ -231,7 +231,7 @@ public static void ShowTheDialog()
231
231
result = false ;
232
232
}
233
233
234
- hWnd = FindWindow ( null , "C# Regex Tool - " + Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version . ToString ( ) ) ;
234
+ hWnd = FindWindow ( null , $ "C# Regex Tool - { Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version } " ) ;
235
235
if ( hWnd . ToInt64 ( ) > 0 )
236
236
{
237
237
SetForegroundWindow ( hWnd ) ;
Original file line number Diff line number Diff line change 7
7
8
8
namespace RegexDialog
9
9
{
10
- public class Config : NotifyPropertyChangedBaseClass
10
+ public sealed class Config : NotifyPropertyChangedBaseClass
11
11
{
12
12
#region Json singleton
13
13
You can’t perform that action at this time.
0 commit comments