private void counterPartyEdit_Button_Click(object sender, RoutedEventArgs e) { Window w = new Window(); w.Width = 400; w.Height = 300; CounterPartyLoaderView cplv = new CounterPartyLoaderView(); w.Content = cplv; w.Visibility = 0; // booking button 눌리면 if (w.ShowDialog() == true) { this.viewModel_.Counterparty_ = cplv.SelectedCounterParty_; } else { } }
private void counterPartyEdit_Button_Click(object sender, RoutedEventArgs e) { Window w = new Window(); w.Width = 400; w.Height = 300; CounterPartyLoaderView cplv = new CounterPartyLoaderView(); w.Content = cplv; w.Visibility = 0; // booking button 눌리면 if (w.ShowDialog() == true) { this.viewModel_.Counterparty_ = cplv.SelectedCounterParty_; } else { } }