예제 #1
0
        private void BotaoMEMCPUAtual_Click(object sender, EventArgs e)
        {
            int memoriaAtual = Convert.ToInt32(MEMPossuiTXT.ToString()) + Convert.ToInt32(MemoriaTXT.ToString());

            MemoriaTXT.Text = memoriaAtual.ToString();
            int cpuAtual = Convert.ToInt32(CPUPossuiTXT.ToString()) + Convert.ToInt32(CPUTXT.ToString());

            CPUTXT.Text = cpuAtual.ToString();
            mainServidor.Atualizar(MemoriaTXT.ToString(), CPUTXT.ToString());
        }
예제 #2
0
 private void Atualizar_Click(object sender, EventArgs e)
 {
     mainServidor.Atualizar(MemoriaTXT.ToString(), CPUTXT.ToString());
 }