Esempio n. 1
0
 public void ShowTransaction()
 {
     SalesPad.EntryCol.Width            = new GridLength(408);
     SalesPad.TransactionGrd.Visibility = System.Windows.Visibility.Visible;
     SalesPad.TotalsCol.Width           = new GridLength(200);
     SalesPad.TotalsGrd.Visibility      = System.Windows.Visibility.Visible;
     SalesTaskPad.MoveToNextControl(SalesPad.TransactionGrd);
     SalesPadState = SalesPadTransState.Transaction;
 }
Esempio n. 2
0
 public void ShowChange()
 {
     SalesPad.ChangeCol.Width      = new GridLength(400);
     SalesPad.ChangeGrd.Visibility = System.Windows.Visibility.Visible;
     //SalesPad.PrintCol.Width = new GridLength(200);
     //SalesPad.PrintGrd.Visibility = System.Windows.Visibility.Visible;
     SalesTaskPad.MoveToNextControl(SalesPad.PrintGrd);
     SalesPadState = SalesPadTransState.Change;
 }
Esempio n. 3
0
 public void ShowTender()
 {
     SalesPad.TotalsCol.Width             = new GridLength(200);
     SalesPad.TotalsGrd.Visibility        = System.Windows.Visibility.Visible;
     SalesPad.PaymentCol.Width            = new GridLength(400);
     SalesPad.TenderOptionsGrd.Visibility = System.Windows.Visibility.Visible;
     SalesTaskPad.MoveToNextControl(SalesPad.TenderOptionsGrd);
     SalesPadState = SalesPadTransState.Tender;
 }
Esempio n. 4
0
 public void ShowReceipt()
 {
     SalesPad.ReceiptCol.Width      = new GridLength(400);
     SalesPad.ReceiptGrd.Visibility = System.Windows.Visibility.Visible;
     SalesPad.PrintCol.Width        = new GridLength(200);
     SalesPad.PrintGrd.Visibility   = System.Windows.Visibility.Visible;
     SalesTaskPad.MoveToNextControl(SalesPad.PrintGrd);
     SalesPadState = SalesPadTransState.Receipt;
 }
Esempio n. 5
0
 static SalesTaskPad()
 {
     _instance = new SalesTaskPad();
 }