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); }
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; }