コード例 #1
0
 void HandleFileLoadStart(object sender
     , FSCruiser.Core.Workers.WorkerProgressChangedEventArgs e)
 {
     ViewController.ShowWait();
 }
コード例 #2
0
 public void OnTally(FSCruiser.Core.Models.CountTreeVM count)
 {
     if (_viewLoading) { return; }
     this.DataEntryController.OnTally(count);
     this._BS_tallyHistory.MoveLast();
 }
コード例 #3
0
        void HandleFileLoadEnd(object sender
            , FSCruiser.Core.Workers.WorkerProgressChangedEventArgs e)
        {
            //var worker = sender as FSCruiser.Core.Workers.FileLoadWorker;
            //if (worker == null) { return; }

            ViewController.HideWait();
            ViewController.HandleFileStateChanged();
            if (this.FileLoadWorker.IsDone)
            {
                var filePath = _cDal.Path;
                var fileName = System.IO.Path.GetFileName(this._cDal.Path);

                ViewController.EnableLogGrading = _cDal.ExecuteScalar<bool>("SELECT LogGradingEnabled FROM Sale Limit 1;");

                Settings.AddRecentProject(new RecentProject(fileName, filePath));
                ApplicationSettings.Save();
            }
        }
コード例 #4
0
 public virtual Control MakeTallyRow(Control container, FSCruiser.Core.Models.SubPop subPop)
 {
     try
     {
         throw new NotImplementedException();
     }
     catch (NotImplementedException)
     { }
     return null;
 }