Exemple #1
0
 public SpendingReportViewModel()
 {
     _key      = "";
     _dateTo   = DateTime.Now;
     _dateFrom = DateTime.Now;
     _paging   = new PagingWPF();
 }
 public SafeDisplayViewModel()
 {
     _key          = "";
     _isFocused    = true;
     _paging       = new PagingWPF();
     safeAddDialog = new SafeAddDialog();
     currentWindow = Application.Current.Windows.OfType <MetroWindow>().LastOrDefault();
 }
 public BillDisplayViewModel()
 {
     _key          = "";
     _dateTo       = Convert.ToDateTime(DateTime.Now.ToShortDateString());
     _dateFrom     = Convert.ToDateTime(DateTime.Now.ToShortDateString());
     _paging       = new PagingWPF();
     currentWindow = Application.Current.Windows.OfType <MetroWindow>().LastOrDefault();
 }
 public ShiftDisplayViewModel()
 {
     _key            = "";
     _dateTo         = DateTime.Now;
     _dateFrom       = DateTime.Now;
     _paging         = new PagingWPF();
     shiftShowDialog = new ShiftShowDialog();
     currentWindow   = Application.Current.Windows.OfType <MetroWindow>().LastOrDefault();
 }
 public ItemOrderViewModel()
 {
     _key       = "";
     _isFocused = true;
     _paging    = new PagingWPF();
 }