public void AddRunInfo(string prjName, int cnt) { var runInfo = new RunInfoTable(prjName, DateTime.Now, cnt); AllRunInfos.Add(runInfo); SelectedRunInfo = runInfo; string errMsg = ""; databseHelper.Add(runInfo, ref errMsg); }
public void DeleteRunInfo(RunInfoTable runInfoTable) { databseHelper.Delete(runInfoTable); AllRunInfos.Remove(runInfoTable); }