İşlemci (CPU) ve Bellek (RAM) Performans Ölçer — C#

İşlemci (CPU) ve Bellek (RAM) Performans Ölçer — C#

[code lang=”csharp”]

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;//www.gorselprogramlama.com

using System.Text;

using System.Windows.Forms;

namespace Gadget_CPU___RAM___HDD

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void tmrDeger_Tick(object sender, EventArgs e)

{

float cpuYuzde = islemci.NextValue();

lblCPU.Text = "% " + cpuYuzde.ToString("N2");

pbCPU.Value = (int)cpuYuzde;//www.gorselprogramlama.com

float ramYuzde = ram.NextValue();

lblRAM.Text = "% " + ramYuzde.ToString("N2");

pbRAM.Value = (int)ramYuzde;

}

private void Form1_Load(object sender, EventArgs e)

{

tmrDeger.Enabled = true;

}//www.gorselprogramlama.com

private void chkTopMost_CheckedChanged(object sender, EventArgs e)

{

this.TopMost = chkTopMost.Checked;

}

}//www.gorselprogramlama.com

}

[/code]

Projeyi İNDİR

Yorumlar 3

  • işlemci ve ram nerden yüklenecek

  • InvalidOperationException was unhandled : Category Name eksik diyor ve program çalışmıyor, yardım eder misiniz ?

  • Çok teşekkürler uzun uğraşlar sonucu çalıştırabildim.
    Tamda böyle bir şey arıyordum paylaştığınız için sağolun.

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir