FrmUserRomm.cs 1016 B

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. namespace Core.StlMes.Client.ZGMil.NodeResultQuery
  10. {
  11. public partial class FrmUserRomm : Form
  12. {
  13. /// <summary>
  14. /// 台号
  15. /// </summary>
  16. private string userRomm = null;
  17. public string UserRomm
  18. {
  19. get { return userRomm; }
  20. set { userRomm = value; }
  21. }
  22. public FrmUserRomm()
  23. {
  24. InitializeComponent();
  25. this.comboBox1.SelectedIndex = 0;
  26. }
  27. private void btn_Canle_Click(object sender, EventArgs e)
  28. {
  29. this.Dispose();
  30. this.Close();
  31. }
  32. private void btn_OK_Click(object sender, EventArgs e)
  33. {
  34. UserRomm = this.comboBox1.SelectedItem.ToString();
  35. this.Dispose();
  36. this.Close();
  37. }
  38. }
  39. }