@@ -72,7 +72,7 @@ private void LinkLabel_Click(object sender, RoutedEventArgs e) {
7272
7373 if ( source != null ) {
7474
75- Process . Start ( new ProcessStartInfo ( "cmd" , $ "/c start { source . NavigateUri . ToString ( ) } ") { CreateNoWindow = true } ) ;
75+ Process . Start ( new ProcessStartInfo ( "cmd" , $ "/c start { source . NavigateUri } ") { CreateNoWindow = true } ) ;
7676 }
7777 }
7878
@@ -157,24 +157,24 @@ public void PrintToConsole(string text, string resource) {
157157
158158 private void ConfirmButton_Click ( object sender , RoutedEventArgs e ) {
159159
160- var text = ( System . Windows . Controls . RichTextBox ) this . FindName ( "vmapLocation" ) ;
160+ var text = ( RichTextBox ) this . FindName ( "vmapLocation" ) ;
161161 string vmapFile = new TextRange ( text . Document . ContentStart , text . Document . ContentEnd ) . Text . Replace ( "\r \n " , "" ) ;
162162 if ( ! File . Exists ( vmapFile ) ) {
163- System . Windows . MessageBox . Show ( "Vmap file path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
163+ MessageBox . Show ( "Vmap file path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
164164 return ;
165165 }
166166
167167 text = ( RichTextBox ) this . FindName ( "assetLocation" ) ;
168168 string assetDir = new TextRange ( text . Document . ContentStart , text . Document . ContentEnd ) . Text . Replace ( "\r \n " , "" ) ;
169169 if ( ! Directory . Exists ( assetDir ) ) {
170- System . Windows . MessageBox . Show ( "Asset Directory path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
170+ MessageBox . Show ( "Asset Directory path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
171171 return ;
172172 }
173173
174174 text = ( RichTextBox ) this . FindName ( "sboxLocation" ) ;
175175 string sboxDir = new TextRange ( text . Document . ContentStart , text . Document . ContentEnd ) . Text . Replace ( "\r \n " , "" ) ;
176176 if ( ! Directory . Exists ( sboxDir ) ) {
177- System . Windows . MessageBox . Show ( "s&box Directory path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
177+ MessageBox . Show ( "s&box Directory path invalid!" , "Error" , MessageBoxButton . OK , MessageBoxImage . Warning ) ;
178178 return ;
179179 }
180180
0 commit comments