@@ -14,8 +14,8 @@ public Wizard() {
1414 element . Text = Resources . ResourceManager . GetString ( element . Text ) ?? element . Text ;
1515 }
1616
17- Icon = Resources . icon ;
18- Text = Resources . str_main_window_title ;
17+ Icon = Resources . app_icon ;
18+ Text = Resources . app_title ;
1919
2020 version . Text = string . Format ( Resources . str_version , ProductVersion ) ;
2121
@@ -40,27 +40,27 @@ private void ChkContextEntry_CheckedChanged(object sender, EventArgs e) {
4040 try {
4141 if ( contextEntryCheckBox . Checked && ! RegistryUtil . IsContextMenuEntryRegistered ( ) ) {
4242 RegistryUtil . RegisterContextMenuEntry ( ! Settings . Default . autoSave ) ;
43- MessageBox . Show ( Resources . str_message_register_context_menu_success , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
43+ MessageBox . Show ( Resources . str_message_register_context_menu_success , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
4444 } else if ( ! contextEntryCheckBox . Checked && RegistryUtil . IsContextMenuEntryRegistered ( ) ) {
4545 RegistryUtil . UnRegisterContextMenuEntry ( ) ;
46- MessageBox . Show ( Resources . str_message_unregister_context_menu_success , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
46+ MessageBox . Show ( Resources . str_message_unregister_context_menu_success , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
4747 }
4848 } catch ( Exception ex ) {
49- MessageBox . Show ( ex . Message + "\n " + Resources . str_message_run_as_admin , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
49+ MessageBox . Show ( ex . Message + "\n " + Resources . str_message_run_as_admin , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
5050 }
5151 }
5252
5353 private void ChkAutostart_CheckedChanged ( object sender , EventArgs e ) {
5454 try {
5555 if ( autostartCheckBox . Checked && ! RegistryUtil . IsAutostartRegistered ( ) ) {
5656 RegistryUtil . RegisterAutostart ( ) ;
57- MessageBox . Show ( Resources . str_message_register_autostart_success , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
57+ MessageBox . Show ( Resources . str_message_register_autostart_success , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
5858 } else if ( ! autostartCheckBox . Checked && RegistryUtil . IsAutostartRegistered ( ) ) {
5959 RegistryUtil . UnRegisterAutostart ( ) ;
60- MessageBox . Show ( Resources . str_message_unregister_autostart_success , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
60+ MessageBox . Show ( Resources . str_message_unregister_autostart_success , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Information ) ;
6161 }
6262 } catch ( Exception ex ) {
63- MessageBox . Show ( ex . Message + "\n " + Resources . str_message_run_as_admin , Resources . str_main_window_title , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
63+ MessageBox . Show ( ex . Message + "\n " + Resources . str_message_run_as_admin , Resources . app_title , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
6464 }
6565 }
6666
0 commit comments