Exemple #1
0
 private void radioButton9_CheckedChanged(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     if (this.radioButton9.Checked)
     {
         dateTimePicker2.Visible = true;
         晚点时间 a = new 晚点时间();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     this.Cursor = Cursors.Default;
 }
Exemple #2
0
        private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;

            //本日生铁
            if (this.radioButton1.Checked)
            {
                this.BenRiShengTie.getData(dateTimePicker1.Value.Date);
                this.BenRiShengTie.ModelCalc();
                this.BenRiShengTie.display(webBrowser1.Document);
            }

            //上报厂调
            if (this.radioButton2.Checked)
            {
                this.ShangBaoChangDiao.getData(dateTimePicker1.Value.Date);
                this.ShangBaoChangDiao.ModelCalc();
                this.ShangBaoChangDiao.display(webBrowser1.Document);
            }

            //其它数据
            if (this.radioButton3.Checked)
            {
                this.QiTaShuJu.getData(dateTimePicker1.Value.Date);
                this.QiTaShuJu.ModelCalc();
                this.QiTaShuJu.display(webBrowser1.Document);
            }
            if (this.radioButton4.Checked)
            {
                tieliangkaohe();
            }
            if (this.radioButton5.Checked)
            {
                优质优价炼钢铁 a = new 优质优价炼钢铁();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, tiaojian);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton6.Checked)
            {
                机烧值比较 a = new 机烧值比较();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton7.Checked)
            {
                优质铁水率 a = new 优质铁水率();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton8.Checked)
            {
                生产指标 a = new 生产指标();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton9.Checked)
            {
                晚点时间 a = new 晚点时间();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton10.Checked)
            {
                大宗原料 a = new 大宗原料();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton11.Checked)
            {
                铁口深度 a = new 铁口深度();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            if (this.radioButton12.Checked)
            {
                风温考核 a = new 风温考核();
                a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
                a.display(webBrowser1.Document);
            }
            this.Cursor = Cursors.Default;
        }
Exemple #3
0
 private void dateTimePicker2_ValueChanged(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     if (this.radioButton4.Checked)
     {
         tieliangkaohe();
     }
     if (this.radioButton5.Checked)
     {
         优质优价炼钢铁 a = new 优质优价炼钢铁();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, tiaojian);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton13.Checked)
     {
         铁水质量查询 a = new 铁水质量查询();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, tiaojian);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton6.Checked)
     {
         机烧值比较 a = new 机烧值比较();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton7.Checked)
     {
         优质铁水率 a = new 优质铁水率();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton8.Checked)
     {
         生产指标 a = new 生产指标();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton9.Checked)
     {
         晚点时间 a = new 晚点时间();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton10.Checked)
     {
         大宗原料 a = new 大宗原料();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton11.Checked)
     {
         铁口深度 a = new 铁口深度();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     if (this.radioButton12.Checked)
     {
         风温考核 a = new 风温考核();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
         a.display(webBrowser1.Document);
     }
     this.Cursor = Cursors.Default;
 }