title: When developing for a tablet PC, how do I determine if the user clicked a mouse or a pen?
body: <p>How do I check if the user clicked with a mouse or with a pen stylus on a C# control.</p>
  
  <p>For eg. If the user clicks a text box with a pen button then I want an input panel to pop up but if he clicks with a mouse then it shouldn't. So how do I check whether he was using a mouse or a pen?</p>
  
  <p>Edit: Using Windows Forms not WPF</p>