Exemple #1
0
 public frmReceipt()
 {
     InitializeComponent();
     this.DataContext = data;
     data.Clear();
     onClientEvents();
 }
 public frmReceipt()
 {
     InitializeComponent();
     this.DataContext = data;
     data.Clear();
     onClientEvents();
     dtpReceiptDate.DisplayDateStart = Common.AppLib.minDate;
     dtpReceiptDate.DisplayDateEnd   = Common.AppLib.maxDate;
 }
        private void btnSave_Click(object sender, RoutedEventArgs e)
        {
            var rv = Data.Save();

            if (rv == true)
            {
                MessageBox.Show("Saved");
                Data.Clear();
            }
        }