Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
QuestionUsing Custom .dll files - where do they go? Pin
mikemilano31-Jul-03 7:07
mikemilano31-Jul-03 7:07 
AnswerRe: Using Custom .dll files - where do they go? Pin
Martin Cook31-Jul-03 7:21
professionalMartin Cook31-Jul-03 7:21 
AnswerRe: Using Custom .dll files - where do they go? Pin
mikemilano31-Jul-03 7:36
mikemilano31-Jul-03 7:36 
GeneralRe: Using Custom .dll files - where do they go? Pin
Rein Hillmann31-Jul-03 22:20
Rein Hillmann31-Jul-03 22:20 
GeneralHiding Form on Startup Pin
Adam Durity31-Jul-03 5:40
Adam Durity31-Jul-03 5:40 
GeneralRe: Hiding Form on Startup Pin
JM_FL31-Jul-03 6:27
JM_FL31-Jul-03 6:27 
GeneralRe: Hiding Form on Startup Pin
Ista31-Jul-03 6:57
Ista31-Jul-03 6:57 
GeneralRe: Hiding Form on Startup Pin
Adam Durity31-Jul-03 8:35
Adam Durity31-Jul-03 8:35 
Okay,

I've got a semi working solution, tell me if i'm doing anything that could lead to problems later.

public class Class1
{
static void Main()
{
Form1 form = new Form1();
Application.Run();
}
}
 
public class Form1 : System.Windows.Form
{
public Form1()
{
IntiallizeComponent();
this.Visible = false;
}
}

This creates the notifyIcon in the system tray, but does not show the form. When the notifyIcon is double clicked, then the form pops up. When the form is disposed, i have it call Application.Exit() so that the Application quits properly...this is mostly what i'm concerned about, that the tread is terminating properly.



-- Adam

"If you can't beat your computer in chess, try kickboxing"
GeneralAutoScroll jumping to 0 Pin
S O S31-Jul-03 5:01
S O S31-Jul-03 5:01 
GeneralRe: AutoScroll jumping to 0 Pin
misterbear31-Jul-03 22:59
misterbear31-Jul-03 22:59 
GeneralListView and user click Pin
aeros31-Jul-03 4:21
aeros31-Jul-03 4:21 
GeneralRe: ListView and user click Pin
Rampas Tomas31-Jul-03 17:41
Rampas Tomas31-Jul-03 17:41 
GeneralRe: ListView and user click Pin
aeros31-Jul-03 22:44
aeros31-Jul-03 22:44 
GeneralRe: ListView and user click Pin
Rampas Tomas1-Aug-03 3:31
Rampas Tomas1-Aug-03 3:31 
Generalscaling text to fit into rectangle Pin
misterbear31-Jul-03 4:13
misterbear31-Jul-03 4:13 
Generalhelp!! about the ListView Pin
vvvmmmvvv31-Jul-03 4:10
vvvmmmvvv31-Jul-03 4:10 
GeneralRe: help!! about the ListView Pin
Rampas Tomas31-Jul-03 17:10
Rampas Tomas31-Jul-03 17:10 
GeneralConvert string into expression Pin
JM_FL31-Jul-03 3:22
JM_FL31-Jul-03 3:22 
GeneralRe: Convert string into expression Pin
Nick Seng31-Jul-03 15:34
Nick Seng31-Jul-03 15:34 
Generalwindows service written in C++, COM objects, call from C# Pin
alma31-Jul-03 3:11
alma31-Jul-03 3:11 
GeneralRe: windows service written in C++, COM objects, call from C# Pin
alma31-Jul-03 23:20
alma31-Jul-03 23:20 
Generalrunning function in Form from UserControl Pin
Hovik Melkomian31-Jul-03 1:23
Hovik Melkomian31-Jul-03 1:23 
GeneralRe: running function in Form from UserControl Pin
Rampas Tomas31-Jul-03 2:09
Rampas Tomas31-Jul-03 2:09 
GeneralRe: running function in Form from UserControl Pin
Hovik Melkomian3-Aug-03 2:40
Hovik Melkomian3-Aug-03 2:40 
GeneralRe: running function in Form from UserControl Pin
Rampas Tomas3-Aug-03 21:34
Rampas Tomas3-Aug-03 21:34 

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.