1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- 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();
- }
- }
- }
|