Hi,
I'm sorry because i don't know where i can post this thread,
I have a form as below

When I input value into textbox No1, this textbox automatic change to read only = true
After I input into tetxbox No2, Q'ty will be change 1/2 until it's become 2/2.
In this time textbox No1 change from read only = true to false and q'ty will be reset to 0 and counting again,
My code is example but it's working not true:
- int count = 0;
- if ( clause )
- {
- count++;
- txtqty.Text= count.ToString();
- }
- if ( count ==2)
- {
- txtNo1.ReadOnly = false;
- txtNo1.Clear();
- txtNo1.Focus();
- txtqty.Text = "0";
So please help me to solve this troule.
Thank you!
Vivek KumarPosted Apr 1, 2016, 2:16 PM
thanh duongPosted Apr 1, 2016, 9:57 AM
Vivek KumarPosted Mar 31, 2016, 2:08 PM
thanh duongPosted Mar 31, 2016, 10:37 AM
Vivek KumarPosted Mar 31, 2016, 10:24 AM