Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
QuestionASP Print Pin
smarttom996-Oct-09 13:43
smarttom996-Oct-09 13:43 
AnswerRe: ASP Print Pin
Christian Graus6-Oct-09 13:57
protectorChristian Graus6-Oct-09 13:57 
Questionc# crystal reports remote server Pin
Shuaib wasif khan6-Oct-09 13:41
Shuaib wasif khan6-Oct-09 13:41 
Generalproblem with moving objects in a 2d array Pin
F Green6-Oct-09 13:12
F Green6-Oct-09 13:12 
GeneralRe: problem with moving objects in a 2d array Pin
Christian Graus6-Oct-09 13:23
protectorChristian Graus6-Oct-09 13:23 
QuestionHow do I get a image_click to work more than once? Pin
Fenix26-Oct-09 13:08
Fenix26-Oct-09 13:08 
AnswerRe: How do I get a image_click to work more than once? Pin
Christian Graus6-Oct-09 13:24
protectorChristian Graus6-Oct-09 13:24 
GeneralRe: How do I get a image_click to work more than once? Pin
Fenix26-Oct-09 14:22
Fenix26-Oct-09 14:22 
Well... Code won't help.
The clicking procedure works fine.
And the declaration of the image is fine too...

Still wanna see?
private: System::Void TS11_MCli(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
			 				Tsn11 = Tsn11 + 1 ;
				 if (Tsn11 = 0) {  this->TS11->Image = Image::FromFile("C:/GamePics/NOTILE.png");}
					else {
						if (Tsn11 = 1){  this->TS11->Image = Image::FromFile("C:/GamePics/GREEN.png");}
							else {
								if (Tsn11 = 2){  this->TS11->Image = Image::FromFile("C:/GamePics/GRTRE.png");}
								else {
									if (Tsn11 = 3){  this->TS11->Image = Image::FromFile("C:/GamePics/ROAD.png");}
									else {
										if (Tsn11 = 4){  this->TS11->Image = Image::FromFile("C:/GamePics/WALL.png");}
										};
									};
								};
						};
							 
			 };
		 };
};


This was the clicking function.
When I click first time, the image switches to GREEN.png
When I click second time, the image stays as GREEN.png
Generalwrong forum Pin
Luc Pattyn6-Oct-09 14:59
sitebuilderLuc Pattyn6-Oct-09 14:59 
GeneralRe: wrong forum Pin
Fenix26-Oct-09 16:12
Fenix26-Oct-09 16:12 
GeneralRe: wrong forum Pin
Fenix26-Oct-09 16:24
Fenix26-Oct-09 16:24 
GeneralRe: wrong forum Pin
Fenix26-Oct-09 16:25
Fenix26-Oct-09 16:25 
QuestionHow to change the button's value in Datagrid Pin
dwark1066-Oct-09 12:00
dwark1066-Oct-09 12:00 
AnswerRe: How to change the button's value in Datagrid Pin
Henry Minute6-Oct-09 12:36
Henry Minute6-Oct-09 12:36 
GeneralRe: How to change the button's value in Datagrid Pin
dwark1066-Oct-09 13:58
dwark1066-Oct-09 13:58 
GeneralRe: How to change the button's value in Datagrid Pin
Henry Minute6-Oct-09 15:04
Henry Minute6-Oct-09 15:04 
QuestionHow do I pin an object in C#? [modified] - FIXED Pin
Richard Andrew x646-Oct-09 11:07
professionalRichard Andrew x646-Oct-09 11:07 
AnswerRe: How do I pin an object in C#? Pin
DaveyM696-Oct-09 11:35
professionalDaveyM696-Oct-09 11:35 
QuestionBackgroundworker disposal Pin
vsaratkar6-Oct-09 10:49
vsaratkar6-Oct-09 10:49 
AnswerRe: Backgroundworker disposal Pin
Christian Graus6-Oct-09 10:52
protectorChristian Graus6-Oct-09 10:52 
AnswerRe: Backgroundworker disposal Pin
DaveyM696-Oct-09 11:42
professionalDaveyM696-Oct-09 11:42 
GeneralRe: Backgroundworker disposal Pin
vsaratkar7-Oct-09 3:36
vsaratkar7-Oct-09 3:36 
GeneralRe: Backgroundworker disposal Pin
DaveyM697-Oct-09 8:57
professionalDaveyM697-Oct-09 8:57 
GeneralRe: Backgroundworker disposal Pin
vsaratkar8-Oct-09 2:54
vsaratkar8-Oct-09 2:54 
GeneralRe: Backgroundworker disposal Pin
vsaratkar9-Oct-09 10:17
vsaratkar9-Oct-09 10:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.