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

C#

 
GeneralRe: storing doc files Pin
Charith Jayasundara24-Jul-06 17:23
Charith Jayasundara24-Jul-06 17:23 
QuestionHow to use a class in an unmanged DLL Pin
dfbx23-Jul-06 16:38
dfbx23-Jul-06 16:38 
AnswerRe: Project Topic Pin
Paul Conrad23-Jul-06 17:03
professionalPaul Conrad23-Jul-06 17:03 
GeneralRe: Project Topic Pin
Colin Angus Mackay23-Jul-06 21:46
Colin Angus Mackay23-Jul-06 21:46 
Questionhow can create a really transparent control? Pin
Susuko23-Jul-06 14:20
Susuko23-Jul-06 14:20 
AnswerRe: how can create a really transparent control? Pin
ankita patel24-Jul-06 6:50
ankita patel24-Jul-06 6:50 
QuestionHow Do I Access All File Types And Association Information [modified] Pin
christico23-Jul-06 11:49
christico23-Jul-06 11:49 
Questionneed help with a function call Pin
Patrick Snoeij23-Jul-06 11:28
Patrick Snoeij23-Jul-06 11:28 
Hello People,

I've got an question. I'm working on a program and developed a function. The only thing I can't find the way to call it properly.

This is the function:

private void Stopcontact_Selected(string sender, System.Windows.Forms.PictureBox e)
{
string path = @"C:\C#\DOMO\niks.jpg";
if(licht.Checked)
{
path = @"C:\C#\DOMO\lamp_uit.jpg";
}
else if(gordijn.Checked)
{
path = @"C:\C#\DOMO\gordijn_open.jpg";
}
else
{
path = @"C:\C#\DOMO\niks.jpg";
}
e.Image = Image.FromFile (path);
}

There are multiple images that calls to this function. The hard part is, i can't find the way to send it back to the right image (the one that calls it).

Sorry for my crappy explenation but i'm not so good in english and formuling my questions.

Trick
AnswerRe: need help with a function call Pin
Christian Graus23-Jul-06 11:30
protectorChristian Graus23-Jul-06 11:30 
GeneralRe: need help with a function call Pin
Patrick Snoeij23-Jul-06 20:57
Patrick Snoeij23-Jul-06 20:57 
GeneralRe: need help with a function call Pin
Christian Graus23-Jul-06 21:12
protectorChristian Graus23-Jul-06 21:12 
GeneralRe: need help with a function call Pin
Guffa23-Jul-06 21:16
Guffa23-Jul-06 21:16 
QuestionSocket Connectivity Behind Router or Proxy??? Pin
RizwanSharp23-Jul-06 7:51
RizwanSharp23-Jul-06 7:51 
AnswerRe: Socket Connectivity Behind Router or Proxy??? Pin
stancrm23-Jul-06 8:14
stancrm23-Jul-06 8:14 
GeneralRe: Socket Connectivity Behind Router or Proxy??? Pin
RizwanSharp23-Jul-06 8:19
RizwanSharp23-Jul-06 8:19 
GeneralRe: Socket Connectivity Behind Router or Proxy??? Pin
stancrm23-Jul-06 8:22
stancrm23-Jul-06 8:22 
QuestionRe: Socket Connectivity Behind Router or Proxy??? [modified] Pin
RizwanSharp23-Jul-06 8:25
RizwanSharp23-Jul-06 8:25 
AnswerRe: Socket Connectivity Behind Router or Proxy??? Pin
stancrm23-Jul-06 8:30
stancrm23-Jul-06 8:30 
GeneralRe: Socket Connectivity Behind Router or Proxy??? Pin
RizwanSharp23-Jul-06 8:33
RizwanSharp23-Jul-06 8:33 
GeneralRe: Socket Connectivity Behind Router or Proxy??? Pin
stancrm23-Jul-06 8:58
stancrm23-Jul-06 8:58 
QuestionTo remove errors from the program. Pin
arun.m23-Jul-06 7:14
arun.m23-Jul-06 7:14 
QuestionRe: To remove errors from the program. Pin
RizwanSharp23-Jul-06 7:40
RizwanSharp23-Jul-06 7:40 
AnswerRe: To remove errors from the program. Pin
mav.northwind23-Jul-06 10:22
mav.northwind23-Jul-06 10:22 
AnswerRe: To remove errors from the program. Pin
Christian Graus23-Jul-06 10:44
protectorChristian Graus23-Jul-06 10:44 
QuestionIVR (Interactive Voice Response) Pin
mohsen_dez23-Jul-06 7:03
mohsen_dez23-Jul-06 7:03 

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.