// -- constructor public Window_GetOrder(MainWindow parent) { InitializeComponent(); parentWindow = parent; this.Left = parent.Left + parent.Width; this.Top = parent.Top; ViewModel_Instance = new GetOrder_ViewModel(this); this.DataContext = ViewModel_Instance; }
// -- contructor public GetOrder_Model(GetOrder_ViewModel parentVM) { this.parentVM = parentVM; }