コード例 #1
0
 private void stock_placetextBox_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == System.Convert.ToChar(13))
     {
         //打开选择界面,并把结果返回到本界面来
         ChooseStoreHouseForm csform = new ChooseStoreHouseForm(this);
         csform.MdiParent = Program.parentForm;
         csform.Show();
     }
 }
コード例 #2
0
 private void stockplacetextBox_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == System.Convert.ToChar(13))
     {
         //if (this.typecomboBox.Text == "")
         //{
         //    MessageBox.Show("请输入操作类型:出库还是入库");
         //    return;
         //}
         //打开选择界面,并把结果返回到本界面来
         ChooseStoreHouseForm csform = new ChooseStoreHouseForm(this, "store_house_ng_buffer_mb");
         csform.MdiParent = Program.parentForm;
         csform.Show();
     }
 }