示例#1
0
        public override void Run(object sender, EventArgs e)
        {
            FrmPropertyStats2D dialog = new FrmPropertyStats2D(this.CommandName, "STARTDEPTH");

            if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
        }
        public override void Run(object sender, EventArgs e)
        {
            FrmPropertyStats2D dialog = new FrmPropertyStats2D(this.CommandName, "Diameter");

            if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            DataTable dt = dialog.DTTemp;
            FrmPipeLineStatsOutput dialog1 = new FrmPipeLineStatsOutput();

            dialog1.SetData(dt);
            dialog1.ShowDialog();
        }
        public override void Run(object sender, EventArgs e)
        {
            FrmPropertyStats2D dialog = new FrmPropertyStats2D(this.CommandName, "Material");

            if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            //DataTable dt = dialog.DTTemp;
            //DataTable dtstats = dialog.DTStats;
            //string chartTitle = "管线材质统计图" + " 单位:米";
            //FrmPipeLineStatsOutput dialog1 = new FrmPipeLineStatsOutput();
            //dialog1.SetData(dt);
            ////dialog1.SetData1(dtstats);
            //dialog1.ShowDialog();
        }