Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling an OpenCV function Pin
Anonymous27-Aug-05 12:25
Anonymous27-Aug-05 12:25 
QuestionTutorial on writing and reading configuration file Pin
Fredy27-Aug-05 10:06
Fredy27-Aug-05 10:06 
AnswerRe: Tutorial on writing and reading configuration file Pin
Mohamad Al Husseiny27-Aug-05 10:23
Mohamad Al Husseiny27-Aug-05 10:23 
AnswerRe: Tutorial on writing and reading configuration file Pin
Fredy27-Aug-05 10:58
Fredy27-Aug-05 10:58 
QuestionEncryption/Decryption Pin
just4ulove727-Aug-05 7:16
just4ulove727-Aug-05 7:16 
AnswerRe: Encryption/Decryption Pin
Dave Shaw27-Aug-05 8:33
Dave Shaw27-Aug-05 8:33 
GeneralRe: Encryption/Decryption Pin
just4ulove727-Aug-05 8:37
just4ulove727-Aug-05 8:37 
QuestionDynamicaly moving controls at runtime Pin
Mutty27-Aug-05 6:13
Mutty27-Aug-05 6:13 
AnswerRe: Dynamicaly moving controls at runtime Pin
[Marc]27-Aug-05 6:18
[Marc]27-Aug-05 6:18 
GeneralRe: Dynamicaly moving controls at runtime Pin
Mutty27-Aug-05 6:49
Mutty27-Aug-05 6:49 
AnswerRe: Dynamicaly moving controls at runtime Pin
gnjunge27-Aug-05 7:54
gnjunge27-Aug-05 7:54 
QuestionFind Windows version remotely Pin
notacake27-Aug-05 4:06
notacake27-Aug-05 4:06 
AnswerRe: Find Windows version remotely Pin
Matt Gerrans27-Aug-05 7:02
Matt Gerrans27-Aug-05 7:02 
Questionwhat differences came from 'component' and 'windows form'? Pin
Sasuko27-Aug-05 2:49
Sasuko27-Aug-05 2:49 
QuestionLine Count and Byte Count Pin
Mridang Agarwalla27-Aug-05 2:45
Mridang Agarwalla27-Aug-05 2:45 
AnswerRe: Line Count and Byte Count Pin
FalkoD27-Aug-05 3:22
FalkoD27-Aug-05 3:22 
AnswerRe: Line Count and Byte Count Pin
Mohamad Al Husseiny27-Aug-05 3:39
Mohamad Al Husseiny27-Aug-05 3:39 
GeneralRe: Line Count and Byte Count Pin
Lord Kixdemp27-Aug-05 12:58
Lord Kixdemp27-Aug-05 12:58 
AnswerRe: Line Count and Byte Count Pin
Guffa27-Aug-05 5:28
Guffa27-Aug-05 5:28 
NewsRe: Line Count and Byte Count Pin
Rei Miyasaka29-Aug-05 13:04
Rei Miyasaka29-Aug-05 13:04 
QuestionC# and Excel Pin
surfman1927-Aug-05 0:39
surfman1927-Aug-05 0:39 
AnswerRe: C# and Excel Pin
Mohamad Al Husseiny27-Aug-05 1:27
Mohamad Al Husseiny27-Aug-05 1:27 
GeneralRe: C# and Excel Pin
surfman1927-Aug-05 1:44
surfman1927-Aug-05 1:44 
QuestionConnecting application with certain filetype Pin
Member 213090427-Aug-05 0:18
Member 213090427-Aug-05 0:18 
AnswerRe: Connecting application with certain filetype Pin
beatles169227-Aug-05 3:03
beatles169227-Aug-05 3:03 
The line after Application.Run(new Form1()); will not be executed untill you close the form.You should put your code either in Form1 constructor or in form_load event handler or in form_activate event handler

for example:

public static void Main(string[] args)
{
Application.Run(new Form1(args));
}

private Form1(string[] args)
{
foreach(string arg in args)
fajl+=arg;
pictureBox1.Image=Image.FromFile(fajl);
}

P.S. remember that Form1 constructor is an instance member (not a classifier) then none of the variables within it can be static or you should use Form1.variableName to refer to them.

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.