FrmSubCon.cs 883 B

123456789101112131415161718192021222324252627282930313233343536373839
  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.Mcp.Control.Base
  10. {
  11. public partial class FrmSubCon : Form
  12. {
  13. public FrmSubCon()
  14. {
  15. InitializeComponent();
  16. }
  17. //委外说明
  18. private string remark = "";
  19. public string Remark
  20. {
  21. get { return remark; }
  22. set { remark = value; }
  23. }
  24. private void ultraButton1_Click(object sender, EventArgs e)
  25. {
  26. remark = this.txt_Rmark.Text.Trim();
  27. this.DialogResult = System.Windows.Forms.DialogResult.OK;
  28. }
  29. private void ultraButton2_Click(object sender, EventArgs e)
  30. {
  31. this.Close();
  32. }
  33. }
  34. }