コード例 #1
0
 private void LblSearchBarcodeClick(object sender, EventArgs e)
 {
     QuickSearchForm qsf = new QuickSearchForm();
     qsf.Type = 2;
     if (qsf.ShowDialog() == DialogResult.OK)
     {
         txtBarcode.Text = qsf.SearchResult;
     }
 }
コード例 #2
0
 private void llblSearch_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     QuickSearchForm qsf = new QuickSearchForm();
     qsf.Type = rdgReportTemplate.SelectedIndex == 3 ? 3 : 1;
     if (qsf.ShowDialog() == DialogResult.OK)
     {
         txtParam.Text = qsf.SearchResult;
     }
 }