Exemple #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            ProcessView();

            UpProc        = new ProcessUpdateDelegate(ProcessView);
            OnTotal       = new TotalUpdateDelegate(TotalView);
            ProcessThread = new Thread(ProcessUpdate);
            ProcessThread.Start();
        }
Exemple #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            ProcessView();                                          //프로세스 출력

            UpProc        = new ProcessUpdateDelegate(ProcessView); //델리게이트에 구동 메서드 입력
            OnTotal       = new TotalUpdateDelegate(TotalView);
            ProcessThread = new Thread(ProcessUpdate);              //스레드 대리자에 구동 메서드 입력
            ProcessThread.Start();                                  //스레드 시작
            checkThread = new Thread(getCPU_Info); checkThread.Start();
        }
Exemple #3
0
        private void Form6_Load(object sender, EventArgs e)
        {
            ProcessView();

            UpProc  = new ProcessUpdateDelegate(ProcessView);
            OnTotal = new TotalUpdateDelegate(TotalView);

            this.ProcessThread = new Thread(ProcessUpdate);
            this.ProcessThread.Start();

            CheckThread = new Thread(getCPU_Info);
            CheckThread.Start();
        }