How to connect gmail account through VC#
I want to write a simple program which has a username a开发者_如何学Gond password field when I click the button it should display a message box saying "Successful login" and connect with my gmail account.
The code should use Http header..
http://code.msdn.microsoft.com/CSharpGmail
You should be clearer about what you want - the title says
How to connect gmail account through VC#
For that, the answer given by FractalizeR is correct
If all you want is to show a message than that's another story, try:
MessageBox.Show("MessageTextHere", "CaptionTextHere")
Or any of it's many variants
精彩评论