This question is locked. New answers and comments are not allowed.
I have 3 textboxes 1.Quantity 2. Price 3. Total when i enter text in
price i want Total.Text = Quantity.Text * Price.Text of course all are
converted to int.
i want the text of Total to changed as Price is
being Entered. Currently i am using Price_TextChanged but its not
working as i want it to.
here is the Code:
try
{
Total = Quantity * MyPrice;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
this only works when Price loses focus that is when total changes.
i have bound all the TextBoxes with properties and i am implementing INotifyPropertyChanged.
So what is the problem?
price i want Total.Text = Quantity.Text * Price.Text of course all are
converted to int.
i want the text of Total to changed as Price is
being Entered. Currently i am using Price_TextChanged but its not
working as i want it to.
here is the Code:
try
{
Total = Quantity * MyPrice;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
this only works when Price loses focus that is when total changes.
i have bound all the TextBoxes with properties and i am implementing INotifyPropertyChanged.
So what is the problem?