简体   繁体   中英

C# form numeric up down

I want to use TextChanged in C# form to bind numeric up down but when I try it the calculated sum from this field is lower by 1 than it should be (the value is late by 1).

private void tbSoucet3_TextChanged_1(object sender, EventArgs e) {
    Soucet();
    SoucetKratTrackbar();
}  

[Solved] I must use text changed. It didn't work because I forgot to change left side of command to TextChanged from ValueChanged in designer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM