Hello,
In order to introduce myself to C# and, in particular, Visual C# I decided to make a small program with 'windows forms'. At the moment I have some questions:
1) Im using a grid (dataGridView). I'd like a menuStrip (I dont know if is exacly that component) to appear when the mouse's right button is clicked. For each row of grid, when I click on the mouse's right button, a menu with options appears. How can I do that?
2) Something is typed in a textBox. I would like to, after that, ENTER key is 'activated' so I don't have to click on a button, I just press on ENTER key. How can I do that?
3) Last question. Im coding in win Vista where I changed the appearance of dataGridView (row's selection color, etc). However when I tried to run the application on winXP that changes make no effect. Is there a way I could, knowing witch OS is running (XP or Vista), apply a "xp style" or "vista style"?
Thanks in advance for your time. Every sugestion will be very appreciated.
(and sorry for my poor english :))