示例#1
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     frmSelectSignMaterialDialog frmSelectSignMaterialDialog = new frmSelectSignMaterialDialog();
     frmSelectSignMaterialDialog.ShowDialog();
     if (frmSelectSignMaterialDialog.DialogResult == DialogResult.OK)
     {
         tbDocnumber.Text = frmSelectSignMaterialDialog.queryResult;
         materialId = int.Parse(frmSelectSignMaterialDialog.queryId);
         frmSelectSignMaterialDialog.Close();
     }
 }
示例#2
0
        private void btnSelect_Click(object sender, EventArgs e)
        {
            frmSelectSignMaterialDialog frmSelectSignMaterialDialog = new frmSelectSignMaterialDialog();

            frmSelectSignMaterialDialog.ShowDialog();
            if (frmSelectSignMaterialDialog.DialogResult == DialogResult.OK)
            {
                tbDocnumber.Text = frmSelectSignMaterialDialog.queryResult;
                materialId       = int.Parse(frmSelectSignMaterialDialog.queryId);
                frmSelectSignMaterialDialog.Close();
            }
        }