public JoinOrderViewModel(JoinOrderWindow parent) { parentWindow = parent; Model_Instance = new JoinOrderModel(this); joinOrderCommand = new RelayCommand(joinOrder, (x) => true); }
private void ButtonJoinOrder_Click(object sender, RoutedEventArgs e) { this.Hide(); var JoinOrderWindow_instance = new JoinOrderWindow(this); JoinOrderWindow_instance.Show(); }