摘要:
1。继承控件,屏蔽消息 private const int WM_GETTEXT = 0x000d; private const int WM_COPY = 0x0301; private const int WM_PASTE = 0x0302; private const int WM_CONTEXTMENU = 0x007B; private const int WM_RBUTTONDOWN = 0x0204; class TextBoxCtrl : TextBox//继承控件屏蔽消息 { protected override void WndProc(ref Message m) { . 阅读全文