void HandleFileLoadStart(object sender , FSCruiser.Core.Workers.WorkerProgressChangedEventArgs e) { ViewController.ShowWait(); }
public void OnTally(FSCruiser.Core.Models.CountTreeVM count) { if (_viewLoading) { return; } this.DataEntryController.OnTally(count); this._BS_tallyHistory.MoveLast(); }
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(); } }
public virtual Control MakeTallyRow(Control container, FSCruiser.Core.Models.SubPop subPop) { try { throw new NotImplementedException(); } catch (NotImplementedException) { } return null; }