请选择 进入手机版 | 继续访问电脑版

Hello Mat

 找回密码
 立即注册
查看: 4133|回复: 1

TextBox输入密码显示星号(*)

[复制链接]

1293

主题

1519

帖子

110

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22629
发表于 2021-7-21 21:50:01 | 显示全部楼层 |阅读模式
TextBox输入密码显示星号(*)

参考:
【1】C# TextBox输入密码显示星号(*)



算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

1293

主题

1519

帖子

110

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22629
 楼主| 发表于 2023-6-18 16:29:51 | 显示全部楼层
  1.         public void PrintMessage(Color Color_, string str)
  2.         {
  3.             this.Invoke(new MethodInvoker(delegate()
  4.             {
  5.                 this.richTextBox1.SelectionStart = this.richTextBox1.TextLength;
  6.                 this.richTextBox1.SelectionColor = Color_;
  7.                 this.richTextBox1.AppendText(str);
  8.                 //this.richTextBox1.AppendText("\n");
  9.             }));
  10.         }
复制代码
算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-4-17 07:38 , Processed in 0.260243 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表