| |

VerySource

 Forgot password?
 Register
Search
View: 558|Reply: 1

How to use custom controls when editing in DataGridView

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-11 16:00:01
| Show all posts |Read mode
How to use custom controls when editing in DataGridView
Reply

Use magic Report

0

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-6-5 19:15:01
| Show all posts
Yes, you can load and display your control in the CellDoubleClick event, but you need to do some event processing on this, such as MouseLeave, KeyPress, etc., and pass the edited value to the cell of the DataGridView.
   To be honest, I feel that there is absolutely no need to do so! ! ! ! !
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list