예제 #1
0
        public NotificationsList()
        {
            InitializeComponent();
            clsNoti = new CeUserNotificationsClass();
            fillList();
            myPwrNot        = new PWRNOTIFICATIONS.PowerNotifications();
            myPwrNot.OnMsg += new PWRNOTIFICATIONS.PowerNotifications.OnMsgHandler(myPwrNot_OnMsg);
            myPwrNot.Start();

            this.treeView1.AfterSelect += new TreeViewEventHandler(treeView1_AfterSelect);
        }
        public NotificationsList()
        {
            InitializeComponent();
            clsNoti = new CeUserNotificationsClass();
            fillList();
            myPwrNot = new PWRNOTIFICATIONS.PowerNotifications();
            myPwrNot.OnMsg += new PWRNOTIFICATIONS.PowerNotifications.OnMsgHandler(myPwrNot_OnMsg);
            myPwrNot.Start();

            this.treeView1.AfterSelect += new TreeViewEventHandler(treeView1_AfterSelect);
        }
예제 #3
0
        int fillList()
        {
            clsNoti = new CeUserNotificationsClass();
            string[] sList = clsNoti.sAppList;

            clsNoti.applyTableStyle(dataGrid1);
            dataGrid1.DataSource = clsNoti.eventEntries;
            //dataGrid1.DataSource = cls.EventDB;

            CeUserNotificationsClass cls2 = new CeUserNotificationsClass(this.treeView1);

            return(sList.Length);
        }
        int fillList()
        {
            clsNoti = new CeUserNotificationsClass();
            string[] sList = clsNoti.sAppList;

            clsNoti.applyTableStyle(dataGrid1);
            dataGrid1.DataSource = clsNoti.eventEntries;
            //dataGrid1.DataSource = cls.EventDB;

            CeUserNotificationsClass cls2 = new CeUserNotificationsClass(this.treeView1);
            return sList.Length;
        }