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:
Code
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 KumarRank #272 · 9.3K pointsPosted Mar 31, 2016, 6:24 AM EDT
thanh duong5 pointsPosted Mar 31, 2016, 6:37 AM EDT
Vivek KumarRank #272 · 9.3K pointsPosted Mar 31, 2016, 10:08 AM EDT
thanh duong5 pointsPosted Apr 1, 2016, 5:57 AM EDT
1 short reply
Vivek KumarRank #272 · 9.3K pointsPosted Apr 1, 2016, 10:16 AM EDT