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"; }
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); } }
private void Russiantile_Click(object sender, RoutedEventArgs e) { LanguageSheet.Language2_action_optionwindow(this); }
private void Englishtile_Click(object sender, RoutedEventArgs e) { LanguageSheet.Language1_action_optionwindow(this); }
private void Chinesetile_Click(object sender, RoutedEventArgs e) { LanguageSheet.Language4_action_optionwindow(this); }