private void viewCalModel_Click(object sender, EventArgs e) { if (this.calModel != null) { CalModelForm form = new CalModelForm(this.calModel); form.ShowDialog(); } }
private void btnModel_Click(object sender, EventArgs e) { if (this.ZhiliangRiBao.myModel != null) { CalModelForm form = new CalModelForm(this.ZhiliangRiBao.myModel); form.ShowDialog(); this.ZhiliangRiBao.display(webBrowser1.Document); } }
private void btnModel_Click(object sender, EventArgs e) { if (this.JiShuYueBao.myModel != null) { CalModelForm form = new CalModelForm(this.JiShuYueBao.myModel); form.ShowDialog(); int nian = Convert.ToInt32(this.TextBox_nian.Text); int yue = Convert.ToInt32(this.TextBox_yue.Text); JiShuYueBaoTable table = ModelToTable(nian, yue); } }