C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-19-2005, 10:09 AM   #1
Registered User
 
Join Date: Aug 2005
Posts: 16
One last thing i swear!!

In the program i posted about earlier, i have also included 2 picture files (i think one is a gif and the other a jpg). I was wondering as i have found out how to load the image on build, i would like to know what members or the Form can i use to change the image to the other picture; toggling between images on event?
i would imagine it would be similar to:
Code:
private void button1_MouseOver(object sender, EventArgs e)
        {
        Form1.BackgroundImage.Dispose(); // ?
        Form1.BackgroundImage=(@"c:\*.jpg"); //??
        }
something like this? im really not sure; i know what i want to do but i couldnt find anything on the msdn site about changing the image. The only article there is how to add one and that at build time not run time.

//edit
Also checked code project, and Csharp-station and nothing on this.

Last edited by fingerlickin; 08-19-2005 at 11:04 AM.
fingerlickin is offline   Reply With Quote
Old 08-19-2005, 10:11 AM   #2
Registered User
 
Join Date: Aug 2005
Posts: 16
oops

Last edited by fingerlickin; 08-19-2005 at 01:27 PM.
fingerlickin is offline   Reply With Quote
Old 08-19-2005, 01:05 PM   #3
yes, I'm registered!!!
 
algi's Avatar
 
Join Date: Nov 2004
Location: Ipswich
Posts: 161
Does the 2005 express beta 2 expire. And is it true that you are not allowed to publish anything you make.
__________________
I started out with nothing and I still have most of it left.
algi is offline   Reply With Quote
Old 08-19-2005, 01:25 PM   #4
Registered User
 
Join Date: Aug 2005
Posts: 16
Actually, it looks like since i registered it (using my hotmail account) i can only publish the programs i write. I thought i was able to create .exe files but, maybe im thinking of 2003? i dunno. that kinda bites though. So, back to the original question lol make that im using 2003 cause i dont have an ftp to publish to lol
fingerlickin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pause/idle thing freedik Windows Programming 13 08-22-2003 09:46 AM
A very strange thing gustavosserra C++ Programming 4 04-15-2003 12:43 PM
most challenging thing to program volk A Brief History of Cprogramming.com 52 03-28-2003 03:56 PM
newbie needs help comprehending simple thing A helpless one C++ Programming 6 12-16-2002 09:23 PM


All times are GMT -6. The time now is 04:02 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22