Hello all, I'm trying to get values entered into a textbox in my C# GUI.
I'd like to perform calculations on these values. Here is what I have
so far.
****************************************************************
private void btnAdd_Click(object sender, System.EventArgs e)
{
x.Equals(txtValue1.Text);
y.Equals(txtValue2.Text);
total = x + y;
Console.WriteLine(x);
Console.WriteLine(y);
total.ToString(lblDisplay.Text);
lblDisplay.Refresh();
}
****************************************************************
Any ideas of what I'm doing wrong?
Regards,
Chris Stewart
[EMAIL PROTECTED]
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.