AlarmForm.cs 734 B

1234567891011121314151617181920212223242526272829303132333435
  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. using IntelligentControlForsx.Template;
  11. namespace IntelligentControlForsx.ChildForms
  12. {
  13. public partial class AlarmForm : TemplateForm
  14. {
  15. public AlarmForm()
  16. {
  17. InitializeComponent();
  18. //this.shell1.InitData();
  19. }
  20. public override void Active()
  21. {
  22. this.Show();
  23. //this.shell1.Active();
  24. }
  25. public override void DeActive()
  26. {
  27. this.Hide();
  28. //this.shell1.DeActive();
  29. }
  30. }
  31. }