Esempio n. 1
0
 private void View_Click(object sender, RoutedEventArgs e)
 {
     if (VM.SelectedDeal is null)
     {
         MessageBox.Show("Choose A Deal");
     }
     else
     {
         Window w2 = new Add_Deal(service, (VM.SelectedDeal.deal_id));
         w2.Show();
         this.Close();
     }
 }
Esempio n. 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Window win3 = new Add_Deal(service, null);

            win3.Show();
        }