private void button3_Click(object sender, EventArgs e) { this.Cursor = Cursors.WaitCursor; if (this.radioButton13.Checked) { dateTimePicker2.Visible = true; 铁水质量查询条件 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); } } this.Cursor = Cursors.Default; }
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; }