ZbsChoiceFrm.cs 959 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Core.Mes.Client.Comm.Tool;
  2. using CoreFS.CA06;
  3. using System;
  4. namespace Core.StlMes.Client.Judge.Forms
  5. {
  6. public partial class ZbsChoiceFrm : FrmBase
  7. {
  8. private string _zbsFlag = "";
  9. public string ZbsFlag
  10. {
  11. get { return _zbsFlag; }
  12. set { _zbsFlag = value; }
  13. }
  14. public ZbsChoiceFrm()
  15. {
  16. InitializeComponent();
  17. }
  18. private void ultraButton1_Click(object sender, EventArgs e)
  19. {
  20. if (ultraComboEditor2.Value.ToString2() == "")
  21. {
  22. MessageUtil.ShowWarning("请选择打印方式");
  23. return;
  24. }
  25. _zbsFlag = ultraComboEditor2.Value.ToString2();
  26. this.DialogResult = System.Windows.Forms.DialogResult.OK;
  27. }
  28. private void ZbsChoiceFrm_Load(object sender, EventArgs e)
  29. {
  30. ultraComboEditor2.SelectedIndex = 0;
  31. }
  32. }
  33. }