コード例 #1
0
 public PurchaseEditor(int partyid, int employee)
 {
     this.employee = employee;
     InitializeComponent();
     purchase = new Data.Purchase();
     InitializeFields();
     purchase.Customer.PartyId = partyid;
     itemselector = new Controls.ItemSelector();
     ItemsContentControl.Content = itemselector;
     itemselector.itemsupdated  += new Shell.Controls.ItemSelector.ItemsUpdated(itemselector_itemsupdated);
 }
コード例 #2
0
 public PurchaseEditor(int partyid, int employee)
 {
     this.employee = employee;
     InitializeComponent();
     purchase = new Data.Purchase();
     InitializeFields();
     purchase.Customer.PartyId = partyid;
     itemselector = new Controls.ItemSelector();
     ItemsContentControl.Content = itemselector;
     itemselector.itemsupdated += new Shell.Controls.ItemSelector.ItemsUpdated(itemselector_itemsupdated);
 }