Ejemplo 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;
        }
Ejemplo n.º 2
0
 public void removeControl(xBaseControl c)
 {
     Controls.Remove(c.getControl());
 }
Ejemplo n.º 3
0
 public void addControl(xBaseControl c)
 {
     Controls.Add(c.getControl());
 }