BaseForm.cs 854 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.Windows.Forms;
  9. namespace UAS_SOP.CustomControl.BaseForm
  10. {
  11. public partial class BaseForm : Form
  12. {
  13. public BaseForm()
  14. {
  15. InitializeComponent();
  16. }
  17. private void BaseForm_Load(object sender, EventArgs e)
  18. {
  19. if (!DesignMode)
  20. {
  21. }
  22. }
  23. private void BaseForm_FormClosing(object sender, FormClosingEventArgs e)
  24. {
  25. if (!DesignMode)
  26. {
  27. //Main main = Application.OpenForms["Main"] as Main;
  28. //main.TopMost = (main.Controls["headBar1"].Controls["AlwaysTop"] as CheckBox).Checked;
  29. }
  30. }
  31. }
  32. }