private void btTrans_Click(object sender, EventArgs e) { if (this.cbWeightPoint.SelectedValue == null || this.cbWeightPoint.SelectedValue.ToString() == "") { MessageBox.Show("请先选择磅房信息!"); return; } System.Windows.Forms.Button Btn = (System.Windows.Forms.Button)(sender); MoreBaseInfo frm = new MoreBaseInfo(this, Btn.Tag.ToString(),this.ob); frm.Owner = this; frm.ShowDialog(); }
private void btTrans_Click(object sender, EventArgs e) { System.Windows.Forms.Button Btn = (System.Windows.Forms.Button)(sender); MoreBaseInfo frm = new MoreBaseInfo(this, Btn.Tag.ToString(), this.ob); frm.Owner = this; frm.ShowDialog(); }