コード例 #1
0
        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            if (StyleSheet.choosenstyle == 1)
            {
                StyleSheet.Theme1_action_miningspace(this);
            }
            if (StyleSheet.choosenstyle == 2)
            {
                StyleSheet.Theme2_action_miningspace(this);
            }
            if (StyleSheet.choosenstyle == 3)
            {
                StyleSheet.Theme3_action_miningspace(this);
            }
            if (StyleSheet.choosenstyle == 4)
            {
                StyleSheet.Theme4_action_miningspace(this);
            }

            if (LanguageSheet.choosenlang == 1)
            {
                LanguageSheet.Language1_action_miningspace(this);
            }
            if (LanguageSheet.choosenlang == 2)
            {
                LanguageSheet.Language2_action_miningspace(this);
            }
            if (LanguageSheet.choosenlang == 3)
            {
                LanguageSheet.Language3_action_miningspace(this);
            }
            if (LanguageSheet.choosenlang == 4)
            {
                LanguageSheet.Language4_action_miningspace(this);
            }
            pooladress.Text = DbActions.ReadMiner(this, 1, minerchoose);
            wallet.Text     = DbActions.ReadMiner(this, 2, minerchoose);
            DbActions.Dbaction_action_miningspace(this, minerchoose);
            urchoose.Text = LanguageSheet.langtmp + " ETHASH";
        }
コード例 #2
0
        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            if (StyleSheet.choosenstyle == 1)
            {
                StyleSheet.Theme1_action_advwindow(this);
            }
            if (StyleSheet.choosenstyle == 2)
            {
                StyleSheet.Theme2_action_advwindow(this);
            }
            if (StyleSheet.choosenstyle == 3)
            {
                StyleSheet.Theme3_action_advwindow(this);
            }
            if (StyleSheet.choosenstyle == 4)
            {
                StyleSheet.Theme4_action_advwindow(this);
            }

            if (LanguageSheet.choosenlang == 1)
            {
                LanguageSheet.Language1_action_advwindow(this);
            }
            if (LanguageSheet.choosenlang == 2)
            {
                LanguageSheet.Language2_action_advwindow(this);
            }
            if (LanguageSheet.choosenlang == 3)
            {
                LanguageSheet.Language3_action_advwindow(this);
            }
            if (LanguageSheet.choosenlang == 4)
            {
                LanguageSheet.Language4_action_advwindow(this);
            }
        }
コード例 #3
0
 private void Russiantile_Click(object sender, RoutedEventArgs e)
 {
     LanguageSheet.Language2_action_optionwindow(this);
 }
コード例 #4
0
 private void Englishtile_Click(object sender, RoutedEventArgs e)
 {
     LanguageSheet.Language1_action_optionwindow(this);
 }
コード例 #5
0
 private void Chinesetile_Click(object sender, RoutedEventArgs e)
 {
     LanguageSheet.Language4_action_optionwindow(this);
 }