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