QCM030714.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. using Infragistics.Win.UltraWinGrid;
  11. using System.Text.RegularExpressions;
  12. using System.Collections;
  13. namespace Core.LZMes.Client.QCM.QCM03
  14. {
  15. public partial class QCM030714 : FrmBase
  16. {
  17. private string _Base_Code = "";
  18. public string Results
  19. {
  20. get { return _Base_Code; }
  21. }
  22. public QCM030714()
  23. {
  24. InitializeComponent();
  25. }
  26. private void btnOK_Click(object sender, EventArgs e)
  27. {
  28. if (!string.IsNullOrEmpty(comboBox1.Text))
  29. {
  30. _Base_Code = comboBox1.Text;
  31. this.DialogResult = DialogResult.OK;
  32. this.Close();
  33. }
  34. else
  35. {
  36. MessageBox.Show("请选择牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  37. return;
  38. }
  39. }
  40. }
  41. }