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