File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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()
160160 {
161161 AppDomain . CurrentDomain . SetupInformation . PrivateBinPath = @"plugins\CSharpRegexTools4Npp" ;
162162
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 } " ) ;
164164
165165 if ( hWnd . ToInt64 ( ) > 0 )
166166 {
@@ -231,7 +231,7 @@ public static void ShowTheDialog()
231231 result = false ;
232232 }
233233
234- hWnd = FindWindow ( null , "C# Regex Tool - " + Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version . ToString ( ) ) ;
234+ hWnd = FindWindow ( null , $ "C# Regex Tool - { Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version } " ) ;
235235 if ( hWnd . ToInt64 ( ) > 0 )
236236 {
237237 SetForegroundWindow ( hWnd ) ;
Original file line number Diff line number Diff line change 77
88namespace RegexDialog
99{
10- public class Config : NotifyPropertyChangedBaseClass
10+ public sealed class Config : NotifyPropertyChangedBaseClass
1111 {
1212 #region Json singleton
1313
You can’t perform that action at this time.
0 commit comments