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

            formC.Text = plotType;
            formC.ShowDialog();
        }
示例#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();
        }
示例#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();
        }
示例#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();
        }
示例#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();
 }