你好可以有人告訴我怎麼可以在TextBox中顯示d的結果嗎?在文本框中顯示計算結果
private void Zaehnezahl_TextChanged(object sender, TextChangedEventArgs e)
{
double a = 0;
double b = 0;
double c = 0;
double d = 0;
if (Double.TryParse(Modul.Text, out a) && Double.TryParse(Zaehnezahl.Text, out b) && Double.TryParse(Schraegungswinkel.Text, out c))
d = (a * b)/(System.Math.Cos(c * (Math.PI/180)));
googeling在文本框** C#顯示計算結果**我得到[此](http://stackoverflow.com/questions/14493448/how-to-add-the-value-of-textboxes-and - 顯示結果在一個texbox-in-c-sharp中)作爲第一個結果 –