Text控件中文本內容鼠標點擊一下就全選中

private void TextBox_MouseClick(object sender, MouseEventArgs e)         {             ((TextBox)sender).SelectAll();         } 而後只要在各個Text控件的MouseClick事件中選中(或本身輸入)TextBox_MouseClick便可 PS: 委託中的2個參數: o
相關文章
相關標籤/搜索