Exemplo n.º 1
0
 private void radioButton5_CheckedChanged(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     if (this.radioButton5.Checked)
     {
         dateTimePicker2.Visible = true;
         button2.Text            = "查询条件";
         优质优价炼钢铁 a = new 优质优价炼钢铁();
         a.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, tiaojian);
         a.display(webBrowser1.Document);
     }
     button2.Visible = radioButton5.Checked;
     this.Cursor     = Cursors.Default;
 }
Exemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     if (this.radioButton5.Checked)
     {
         查询条件 a = new 查询条件();
         if (a.ShowDialog() == DialogResult.OK)
         {
             tiaojian = a.tiaojian;
             a.Dispose();
             优质优价炼钢铁 b = new 优质优价炼钢铁();
             b.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, tiaojian);
             b.display(webBrowser1.Document);
         }
     }
     if (this.radioButton12.Checked)
     {
         基准风温 a = new 基准风温();
         if (a.ShowDialog() == DialogResult.OK)
         {
             风温考核 b = new 风温考核();
             b.jzfw1 = a.基准风温1;
             b.jzfw2 = a.基准风温2;
             b.jzfw3 = a.基准风温3;
             b.jzfw4 = a.基准风温4;
             b.jzfw5 = a.基准风温5;
             a.Dispose();
             b.getData(dateTimePicker1.Value.Date, dateTimePicker2.Value.Date);
             b.display(webBrowser1.Document);
         }
     }
     if (this.radioButton3.Checked)
     {
         this.QiTaShuJu.getData(dateTimePicker1.Value.Date);
         this.QiTaShuJu.display(webBrowser1.Document);
     }
     this.Cursor = Cursors.Default;
 }
Exemplo n.º 3
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;
        }
Exemplo n.º 4
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;
 }