SwitchSystemValidation.cs 1019 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 OTSSysMgrApp
  11. {
  12. public partial class SwitchSystemValidation : Form
  13. {
  14. public bool UpdateFile
  15. {
  16. get;
  17. set;
  18. }
  19. public SwitchSystemValidation()
  20. {
  21. InitializeComponent();
  22. }
  23. private void SwitchSystemValidation_Load(object sender, EventArgs e)
  24. {
  25. }
  26. private void btn_OK_Click(object sender, EventArgs e)
  27. {
  28. this.DialogResult = DialogResult.OK;
  29. this.Close();
  30. }
  31. private void cB_updatefile_CheckedChanged(object sender, EventArgs e)
  32. {
  33. UpdateFile = cB_updatefile.Checked;
  34. }
  35. private void btn_CANCEL_Click(object sender, EventArgs e)
  36. {
  37. this.Close();
  38. }
  39. }
  40. }