Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }