예제 #1
0
        private void button2_Click(object sender, RoutedEventArgs e) //add
        {
            App.Current.Properties["mode"] = "other";
            ChooseClient window = new ChooseClient();

            window.Show();
            this.Hide();
        }
예제 #2
0
        private void button1_Click(object sender, RoutedEventArgs e) //add
        {
            App.Current.Properties["mode"] = "loan";

            ChooseClient factory = new ChooseClient();

            factory.Show();
            this.Hide();
        }
예제 #3
0
 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();
     }
 }