private void showDialog(object sender)
 {
     if (string.IsNullOrEmpty(PointCode))
     {
         MessageBox.Show("请先选择磅房信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     System.Windows.Forms.Button Btn = (System.Windows.Forms.Button)(sender);
     MoreBaseInfo frm = new MoreBaseInfo(this.ParentForm, Btn.Tag.ToString(), ((CoreFS.CA06.FrmBase)this.ParentForm).ob);
     frm.Owner = this.ParentForm;
     frm.ShowDialog();
 }
Exemple #2
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (cbBF.Text.Trim() == "")
     {
         MessageBox.Show("请先选择磅房信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         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();
 }
Exemple #3
0
 private void moreBtn_Click(object sender, EventArgs e)
 {
     if (m_PoundRoomArray == null || strJLDID == "")
     {
         MessageBox.Show("请先选择磅房信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         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();
 }