Example #1
0
        public static void ShowCostScenarioPlot(string plotType)
        {
            frmChart formC = new frmChart(plotType);

            formC.Text = plotType;
            formC.ShowDialog();
        }
Example #2
0
        public static void ShowDetentionPlot(BMP bmp, string plotTitle = "Wet Detention System Plot")
        {
            frmChart formC = new frmChart(bmp, "WetDetention");

            formC.Text = plotTitle;
            formC.ShowDialog();
        }
Example #3
0
        public static void ShowVFSPlot(BMP bmp, string plotTitle = "Vegetated Filter Strip Plot")
        {
            VegetatedFilterStrip vnb   = (VegetatedFilterStrip)bmp;
            frmChart             formC = new frmChart(bmp, "VFS");

            formC.Text = plotTitle;
            formC.ShowDialog();
        }
Example #4
0
        public static void ShowVNBPlot(BMP bmp, string plotTitle = "Vegetated Natural Buffer Plot")
        {
            VegetatedNaturalBuffer vnb = (VegetatedNaturalBuffer)bmp;
            frmChart formC             = new frmChart(bmp, "VNB");

            formC.Text = plotTitle;
            formC.ShowDialog();
        }
Example #5
0
        public static void ShowRetentionPlot(BMP bmp, string plotTitle = "Retention Treatment Efficiency")
        {
            frmChart formC = new frmChart(bmp, "Storage");

            formC.Text = plotTitle;
            formC.AddMarker(bmp.RetentionDepth, bmp.HydraulicCaptureEfficiency,
                            "System Efficiency at Treatment Depth (in over watershed): " + XmlPropertyObject.AsString(bmp.RetentionDepth, 2));
            formC.ShowDialog();
        }
        private void btnExpandChart_Click(object sender, EventArgs e)
        {
            System.IO.MemoryStream ms = new System.IO.MemoryStream();
            chartStock.Serializer.Save(ms);
            ms.Flush();

            frmChart ch = new frmChart(ms);

            ch.ShowDialog();
        }
 private void gráficoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmChart grafico = new frmChart();
     grafico.ShowDialog();
 }
Example #8
0
        private void btnChart_Click(object sender, EventArgs e)
        {
            frmChart chart = new frmChart();

            chart.Show();
        }