Esempio n. 1
0
        public AlarmDialog(ScreenBase screen, int firedCnt, xBaseControl c)
        {
            InitializeComponent();

            panel_Alarm.Controls.Add(c.getControl());
            panel_Alarm.AutoScroll = true;

            this.label1.Text = "Có tất cả <" + firedCnt + "> Cảnh báo được bật";

            mControl = c;
            mScreen  = screen;
        }
Esempio n. 2
0
 public void removeControl(xBaseControl c)
 {
     Controls.Remove(c.getControl());
 }
Esempio n. 3
0
 public void addControl(xBaseControl c)
 {
     Controls.Add(c.getControl());
 }