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; }
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; }
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; }
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; }
static SalesTaskPad() { _instance = new SalesTaskPad(); }