示例#1
0
 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;
 }
示例#2
0
 // -- contructor
 public GetGDModel(GetGDViewModel parentVM)
 {
     this.parentVM = parentVM;
 }