frmGetBID_OPEN_ADDR.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 Core.Mes.Client.Comm.Tool;
  10. namespace Pur.Pop_upWindow
  11. {
  12. public partial class frmGetBID_OPEN_ADDR : Form
  13. {
  14. /** 开标地点 */
  15. private string bidOpenAddr;
  16. /// <summary>
  17. /// 开标地点
  18. /// </summary>
  19. public string BidOpenAddr
  20. {
  21. get { return bidOpenAddr; }
  22. set { bidOpenAddr = value; }
  23. }
  24. public frmGetBID_OPEN_ADDR()
  25. {
  26. InitializeComponent();
  27. }
  28. private void button1_Click(object sender, EventArgs e)
  29. {
  30. if (textBox1.Text.Trim() != "")
  31. {
  32. bidOpenAddr = textBox1.Text.Trim();
  33. this.Close();
  34. }
  35. else
  36. {
  37. MessageUtil.ShowTips("请输入开标地点");
  38. return;
  39. }
  40. }
  41. private void button2_Click(object sender, EventArgs e)
  42. {
  43. bidOpenAddr = null;
  44. this.Close();
  45. }
  46. private void frmGetBID_OPEN_ADDR_Load(object sender, EventArgs e)
  47. {
  48. }
  49. }
  50. }