コード例 #1
0
 private void MainWindow_Activating(object sender, EventArgs e)
 {
     if (StyleSheet.choosenstyle == 1)
     {
         StyleSheet.Theme1_action_optionwindow(this);
     }
     if (StyleSheet.choosenstyle == 2)
     {
         StyleSheet.Theme2_action_optionwindow(this);
     }
     if (StyleSheet.choosenstyle == 3)
     {
         StyleSheet.Theme3_action_optionwindow(this);
     }
     if (StyleSheet.choosenstyle == 4)
     {
         StyleSheet.Theme4_action_optionwindow(this);
     }
     if (LanguageSheet.choosenlang == 1)
     {
         LanguageSheet.Language1_action_optionwindow(this);
     }
     if (LanguageSheet.choosenlang == 2)
     {
         LanguageSheet.Language2_action_optionwindow(this);
     }
     if (LanguageSheet.choosenlang == 3)
     {
         LanguageSheet.Language3_action_optionwindow(this);
     }
     if (LanguageSheet.choosenlang == 4)
     {
         LanguageSheet.Language4_action_optionwindow(this);
     }
 }
コード例 #2
0
 private void Germantile_Click(object sender, RoutedEventArgs e)
 {
     LanguageSheet.Language3_action_optionwindow(this);
 }