Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        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();

        }
Exemplo n.º 3
0
        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();
        }