public GetGDWindow(MainWindow parent) { InitializeComponent(); parentWindow = parent; this.Left = parent.Left + parent.Width; this.Top = parent.Top; ViewModel_Instance = new GetGDViewModel(this); this.DataContext = ViewModel_Instance; }
// -- contructor public GetGDModel(GetGDViewModel parentVM) { this.parentVM = parentVM; }