예제 #1
0
        private void ProcessCommandExecute()
        {
            Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait;

            try
            {
                _khachHang.Clear();
                ProcessFileExcel(_settingModel.FileKinhDoanh);
                FillDataToFileNPP(_settingModel.FileThuong);
                _settingModel.SaveSetting();
            }
            catch (Exception ex)
            {
                Mouse.OverrideCursor = null;
                MessageBox.Show("Lỗi Không Thể Mở File !!!!" + ex.Message, "Nhắc Nhở Bạn !!!");
            }
            finally
            {
                Mouse.OverrideCursor = null;
            }
            Mouse.OverrideCursor = null;
        }
예제 #2
0
 void SaveSetting()
 {
     SaveSettingValue();
     sm.SaveSetting();
 }