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; using IntelligentControlForsx.Template; namespace IntelligentControlForsx.ChildForms { public partial class AlarmForm : TemplateForm { public AlarmForm() { InitializeComponent(); //this.shell1.InitData(); } public override void Active() { this.Show(); //this.shell1.Active(); } public override void DeActive() { this.Hide(); //this.shell1.DeActive(); } } }