2018년 1월 5일 금요일
c# RichTextBox password *****
c# RichTextBox password *****
class )
using System;
using System.Windows.Forms;
class RichPassword : RichTextBox
{
protected override CreateParams CreateParams
{
get
{
// Turn on ES_PASSWORD
var cp = base.CreateParams;
cp.Style |= 0x20;
return cp;
}
}
}
-------------------------------------------------------------------
//this.rtPw = new System.Windows.Forms.RichTextBox();
this.rtPw = new RichPassword();
...
this.rtPw.Location = new Point(650, 178);
this.rtPw.Width = 180;
this.rtPw.Height = 31;
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기