private void button2_Click(object sender, RoutedEventArgs e) //add { App.Current.Properties["mode"] = "other"; ChooseClient window = new ChooseClient(); window.Show(); this.Hide(); }
private void button1_Click(object sender, RoutedEventArgs e) //add { App.Current.Properties["mode"] = "loan"; ChooseClient factory = new ChooseClient(); factory.Show(); this.Hide(); }
private void button1_Click(object sender, RoutedEventArgs e) //go back { if (mode == "loan") { ChooseClient window = new ChooseClient(); window.Show(); this.Hide(); } else { ClientDetails window = new ClientDetails(); window.Show(); this.Hide(); } }