title: Managing Cut, Copy Paste button availability .NET WinForms
body: <p>I'm working on a WinForms solution in VB.NET. It's been a while since I'm mostly a web developper. So what I need to do is to replicate the behavior of Microsoft Office product for the <i>Cut, Copy, Paste and Undo</i> menus and toolbar. Which meens, I need to enable <i>Cut and Copy</i> when <b>and only when</b> there's some selected text on the Form. The <i>Paste</i> menu have to be enabled only when the is some text in the clipboard.</p>
  
  <p>Do you have any ideay about how to accomplish that ? I probably would have to check some event in the TextBox's to check if some text is selected (MouseUp ?). Then in the Enter event, I would check if there's something in the Clipboard to enabled <i>Paste</i> menu...</p>
  
  <p>If you have any suggestions, samples, etc. I would really appreciate it !</p>
  
  <p>Thanks a lot !     </p>