예제 #1
0
        public cpumonForm()
        {
            InitializeComponent();
            showProcList();
            //start the process usage analysis thread
            pInfo = new ProcessUsage.ProcInfo();
            //show ourself in the stats?
            pInfo.bIncludeMySelf = false;

            //init data
            createTable();

            pInfo.updateEvent += new ProcessUsage.ProcInfo.updateEventHandler(pInfo_updateEvent);
        }
예제 #2
0
        public cpumonForm()
        {
            InitializeComponent();
            showProcList();
            //start the process usage analysis thread
            pInfo = new ProcessUsage.ProcInfo();
            //show ourself in the stats?
            pInfo.bIncludeMySelf = false;

            //init data
            createTable();

            pInfo.updateEvent += new ProcessUsage.ProcInfo.updateEventHandler(pInfo_updateEvent);
        }