Wednesday, July 14, 2010

Load Picture from Resource in C#

This code segment lets you load a picture from a resource.  You can use this for background pictures or whatever image you want loaded. This is good when you dynamically change the pictures.

pictureBox1.Image = Properties.Resources.[image name];

No comments:

Post a Comment

Generating "Always On Top" NSWindow in macOS across all detected displays

Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift  Langues, you m...