private void saveStoryFlowToExcelToolStripMenuItem_Click(object sender, EventArgs e) { if (StaticUtil.CurrentFuzzFile == null) { MessageBox.Show("You must dump data first"); return; } Cursor = Cursors.WaitCursor; var ds = VSCommon.LoadDumpDataset(TFSRegistry.GetTFSMdbPath()); var saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.Filter = "xls files (*.xlsx)|*.xlsx|All files (*.*)|*.*"; saveFileDialog1.Title = "To Excel"; if (saveFileDialog1.ShowDialog() == DialogResult.OK) { var fileName = saveFileDialog1.FileName; UserStoryCumulativeFlow.BuildStoryFlowDump(ds, fileName); Cursor = Cursors.Default; Process.Start(fileName); } }
public frmDynamicChart(string mdbFilePath, Connect conn, int areaId, string projectName) : this() { this.filePath = mdbFilePath; this.connect = conn; ds = VSCommon.LoadDumpDataset(filePath); lastDumpDate = ds.Config.Where(x => x.Key == "DumpDate").First().Val; dtStartDt.Value = new DateTime(2017,9,1); BuildCheckboxes(); }
public frmDevMetrics(string mdbFilePath, Connect conn, int areaId, string projectName) : this() { this.ProjectName = projectName; this.AreaID = areaId; this.filePath = mdbFilePath; this.connect = conn; ds = VSCommon.LoadDumpDataset(filePath); lastDumpDate = ds.Config.Where(x => x.Key == "DumpDate").First().Val; chartDevelopment.Titles.Add(string.Format("{0} Stories (as of {1})", ProjectName, lastDumpDate)); lstBoxCompletedWorkTFSStateList.DataSource = StaticUtil.CurrentFuzzFile.States.Select(x => x.Category).Distinct().ToList(); GetFeatureOptions(); RenderBugs(); Render(); SetStoryCumulativeFlowDefaultColors(); }