private void buttonSaveOption_Response(object sender, CustomButtonEventArgs e) { int sum = selectScore.SelectedIndex + selectCombo.SelectedIndex + selectHeal.SelectedIndex + selectGuard.SelectedIndex + selectPerfectSupport.SelectedIndex + selectComboSupport.SelectedIndex + selectOverload.SelectedIndex + selectNone.SelectedIndex; if (sum > 5) { textOptionError.Visibility = Visibility.Visible; return; } Data.SkillCount[0] = selectNone.SelectedIndex; Data.SkillCount[1] = selectScore.SelectedIndex; Data.SkillCount[2] = selectCombo.SelectedIndex; Data.SkillCount[3] = selectPerfectSupport.SelectedIndex; Data.SkillCount[4] = selectComboSupport.SelectedIndex; Data.SkillCount[5] = selectHeal.SelectedIndex; Data.SkillCount[6] = selectGuard.SelectedIndex; Data.SkillCount[7] = selectOverload.SelectedIndex; gridOption.Visibility = Visibility.Collapsed; calculate(); }
private void buttonOption_Response(object sender, CustomButtonEventArgs e) { selectScore.SetIndex(Data.SkillCount[1]); selectCombo.SetIndex(Data.SkillCount[2]); selectPerfectSupport.SetIndex(Data.SkillCount[3]); selectComboSupport.SetIndex(Data.SkillCount[4]); selectHeal.SetIndex(Data.SkillCount[5]); selectGuard.SetIndex(Data.SkillCount[6]); selectOverload.SetIndex(Data.SkillCount[7]); selectNone.SetIndex(Data.SkillCount[0]); textOptionError.Visibility = Visibility.Collapsed; gridOption.Visibility = Visibility.Visible; }
private void buttonVersionSync_Response(object sender, CustomButtonEventArgs e) { addAllIdol(1); // System.Diagnostics.Process.Start(LastestUrl); }
private void buttonBackOption_Response(object sender, CustomButtonEventArgs e) { gridOption.Visibility = Visibility.Collapsed; }
private void buttonBack_Response(object sender, CustomButtonEventArgs e) { gridAlbum.Visibility = Visibility.Collapsed; calculate(); }
private void buttonAlbum_Click(object sender, CustomButtonEventArgs e) { gridAlbum.Visibility = Visibility.Visible; }
private void buttonDownload_Response(object sender, CustomButtonEventArgs e) { gridBlock.Opacity = 1; gridBlock.Visibility = Visibility.Visible; network.Download(); }