I wrote an example and uploaded it to my website yesterday. Its a little different then using the backbuffer (like createdbyx said) but similar:
http://www.directx4.net/modules.php?name=Content&pa=showpage&pid=26
Do this:
labelname.Text = (Convert.ToInt32(labelname.Text) + numbertoadd).ToString()
First you have to convert the text to an integer (or any number data type you want to use) to add it with another number. Since that results in a number, you have to then convert the result to a string.
Completely forgot about this thread, sorry :)
Can you show some you are using to draw the text? Like how big you are making the rectangle, font etc. As far as I can tell drawing 2D text works fine for me.
Use the closing event of the form. The arguments passed into the event will enable you to stop the form from closing.
e.Cancel = True
This will cancel the closing of the form.
Im not aware of any method that would allow you to go smaller than a pixel........
When changing sinlge pixels the image probably doesn't look good because of antialiasing. A lot of image editing programs automatically add pixels of different color around an "object" in the image so it looks smooth.
Keep in mind that UInt32 is no CLS compliant, so the use is discouraged. Read about that topic more here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwhatiscommonlanguagespecification.asp
Databse access isn't very hard once you understand it.
Look here for some tutorials:
http://samples.gotdotnet.com/quickstart/howto/default.aspx?url=/quickstart/howto/doc/adoplus/adoplusoverview.aspx
You can prevent drawing to the form by checking the Created property of the Form object. If its false then the form is closed and you can exit the loop.
If you don't want a form shown until the user clicks an option from the notify icon you can do this:
NotifyIcon ico = new NotifyIcon(); //create the icon
ico.ContextMenu = new ContextMenu(); //add some context menu to it
ico.Icon = new Icon(Application.StartupPath + @"\App.ico"); //set the icon
ico.Visible = true; //and finally make it visible
Application.Run(); //start a message loop for your application without a form
//so the app doesnt exit when the Main is done.
//Then of course you add some handlers and such to make your form appear
Then you will have to manually terminate the application using Application.Exit since no form is associated with the message loop.
You don't seem to give your application enough time to process messages. Its stuck in the loop only doing what you specified in the loop. To allow your application to process messages use this:
System::Windows::Forms::Application::DoEvents();
Now your application will be able to process the messages including resize, move etc. Stick that line of code at the bottom of your loop or anywhere in your loop.