private void btnEnglish_Click(object sender, RoutedEventArgs e) { Settings.Default.pageInfo = "English"; var english = new English(); english.Show(); this.Hide(); }
private void Label_TouchDown(object sender, TouchEventArgs e) { if (Settings.Default.pageInfo == "English") { var English = new English(); English.Show(); this.Close(); } else { var Arabic = new Arabic(); Arabic.Show(); this.Close(); } }
private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (Settings.Default.pageInfo == "English") { var English = new English(); English.Show(); this.Close(); } else { var Arabic = new Arabic(); Arabic.Show(); this.Close(); } }
private void btnCancel_Click(object sender, RoutedEventArgs e) { var englishpage = new English(); var arabicpage = new Arabic(); if (Settings.Default.pageInfo == "English") { englishpage.Show(); this.Hide(); } if (Settings.Default.pageInfo == "Arabic") { arabicpage.Show(); this.Hide(); } }