Exemplo n.º 1
0
       public QSS()
       {
           InitializeComponent();
           if (((App)Application.Current).vm is QSSVM)
               vm = ((App)Application.Current).vm as QSSVM; ;
           Loaded += QSS_Loaded;
           
 
       }
Exemplo n.º 2
0
 public print()
 {
     InitializeComponent();
     if (((App)Application.Current).vm is QSSVM)
         vm = ((App)Application.Current).vm as QSSVM; ;
     Duedate.Text = vm.Duedate;
     if (vm.activeCustomer == null)
     {
         CustomerName.Text = "test";
         vm.store = "Haille";
     }
     else
         CustomerName.Text = vm.activeCustomer.FirstName + " " + vm.activeCustomer.LastName;
     Store.Text = vm.store;
     Barcode.Text = vm.barcode;
     Name.Text = vm.Employeename;
     reason.Text = vm.reason;
 }
Exemplo n.º 3
0
 public GetNote()
 {
     InitializeComponent();
     vm = ((App)Application.Current).vm as QSSVM; ;
 }