frmReclassifyCondition.cs 880 B

123456789101112131415161718192021222324252627282930313233343536
  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.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace OTSMeasureApp._1_OTSMeasure.Measure.ParamData
  11. {
  12. public partial class frmReclassifyCondition : Form
  13. {
  14. public bool ignoreUserModify = false;
  15. public frmReclassifyCondition()
  16. {
  17. InitializeComponent();
  18. }
  19. private void button1_Click(object sender, EventArgs e)
  20. {
  21. ignoreUserModify = checkBox1.Checked;
  22. this.DialogResult = DialogResult.OK;
  23. this.Close();
  24. }
  25. private void button2_Click(object sender, EventArgs e)
  26. {
  27. this.DialogResult = DialogResult.Cancel;
  28. this.Close();
  29. }
  30. }
  31. }