public JoinOrderWindow(MainWindow parent) { InitializeComponent(); parentWindow = parent; this.Left = parent.Left + parent.Width; this.Top = parent.Top; ViewModel_Instance = new JoinOrderViewModel(this); this.DataContext = ViewModel_Instance; }
public JoinOrderModel(JoinOrderViewModel parentVM) { this.parentVM = parentVM; actionFiles = new ObservableCollection<File>(); orderFiles = new ObservableCollection<File>(); }