Beispiel #1
0
 private void addslip_Click(object sender, RoutedEventArgs e)
 {
     FunPage.MediaEdit.SlipCustomerEditWindow scew = new SlipCustomerEditWindow();
     scew.vm_SlipInfo.IsEdit = false;
     scew.ShowDialog();
     vm_SlipList.GetDataList();
 }
Beispiel #2
0
 private void update_Click(object sender, RoutedEventArgs e)
 {
     FunPage.MediaEdit.SlipCustomerEditWindow scew = new SlipCustomerEditWindow();
     scew.vm_SlipInfo.IsEdit    = true;
     scew.vm_SlipInfo.SlipModel = LBList.SelectedItem as AMS.Model.AMS_SlipCustomer;
     scew.vm_SlipInfo.ToXML();
     scew.ShowDialog();
     vm_SlipList.GetDataList();
 }