Home > Net >  C # password problem in DataGridView
C # password problem in DataGridView

Time:10-10

In the design of c # WinForm, has a list of passwords in DataGridView columns, usually with PasswordChar='*' hide, show the password in the mouse to click the cell, hidden out-of-focus back when an asterisk password display mode,
The design should be how to implement, please?

CodePudding user response:

https://blog.csdn.net/Bychentufeiyang/article/details/8659078

CodePudding user response:

reference 1/f, guiyang horse Ma Shanfu plugging waterproof engineering professional maintenance of swimming pool response:
https://blog.csdn.net/Bychentufeiyang/article/details/8659078

I search for the method, but there has been a lot of people reproduced countless,
But do not seem to conform to "show the password when the mouse to click the cell, hidden out-of-focus back when an asterisk password" this one, he provides two functions, respectively is to replace the characters in the DataGridView is *, and set the PasswordChar when editing

CodePudding user response:

refer to the second floor forcibly Chinese reply:
Quote: reference 1/f, guiyang horse Ma Shanfu plugging waterproof engineering professional maintenance of swimming pool response:
https://blog.csdn.net/Bychentufeiyang/article/details/8659078

I search for the method, but there has been a lot of people reproduced countless,
But do not seem to conform to "show the password when the mouse to click the cell, hidden out-of-focus back when an asterisk password" this one, he provides two functions, respectively is to replace the characters in the DataGridView is *, and in the edit Settings PasswordChar

What do you mean for your 20 points I have to write one for you?

CodePudding user response:

To share ideas,
Also I am a newcomer, not too many points
  •  Tags:  
  • C #
  • Related