예제 #1
0
        private void btnPotenz_Click(object sender, EventArgs e)
        {
            double zahl1    = Convert.ToDouble(txtOperand1.Text);
            double zahl2    = Convert.ToDouble(txtOperand2.Text);
            double ergebnis = ops.Potenz(zahl1, zahl2);

            lblErgebnis.Text = Convert.ToString(ergebnis);

            lblOperator.Text = "^";
        }
예제 #2
0
파일: Form1.cs 프로젝트: Ramakian/Modul_404
 private void btnPotenz_Click(object sender, EventArgs e)
 {
     _rechenoperationen.Potenz(txtOperand1, txtOperand2, lblErgebnis, lblOperator);
 }