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 OTSSysMgrApp { public partial class SwitchSystemValidation : Form { private bool updateFile=false; public bool GetUpdateFile() { return updateFile; } public void SetUpdateFile(bool value) { updateFile = value; } public SwitchSystemValidation() { InitializeComponent(); } private void SwitchSystemValidation_Load(object sender, EventArgs e) { } private void btn_OK_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; this.Close(); } private void cB_updatefile_CheckedChanged(object sender, EventArgs e) { SetUpdateFile(cB_updatefile.Checked); } private void btn_CANCEL_Click(object sender, EventArgs e) { this.Close(); } } }