using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OTSMeasureApp._1_OTSMeasure.Measure.ParamData { public partial class frmReclassifyCondition : Form { public bool ignoreUserModify = false; public frmReclassifyCondition() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { ignoreUserModify = checkBox1.Checked; this.DialogResult = DialogResult.OK; this.Close(); } private void button2_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; this.Close(); } } }