Click here to Skip to main content
15,914,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using the same class belonging to the same namespaces in two different assembly for a project Pin
leppie9-Aug-04 2:18
leppie9-Aug-04 2:18 
GeneralRe: Using the same class belonging to the same namespaces in two different assembly for a project Pin
exhaulted9-Aug-04 3:12
exhaulted9-Aug-04 3:12 
GeneralRe: Using the same class belonging to the same namespaces in two different assembly for a project Pin
leppie9-Aug-04 2:00
leppie9-Aug-04 2:00 
GeneralRe: Using the same class belonging to the same namespaces in two different assembly for a project Pin
gokselm9-Aug-04 3:18
gokselm9-Aug-04 3:18 
QuestionHow to change new line in textBox Pin
wk_vigorous9-Aug-04 1:31
wk_vigorous9-Aug-04 1:31 
AnswerRe: How to change new line in textBox Pin
Aaron Eldreth9-Aug-04 1:44
Aaron Eldreth9-Aug-04 1:44 
GeneralRe: How to change new line in textBox Pin
Rulala10-Aug-04 15:29
Rulala10-Aug-04 15:29 
Questionhow to override close Pin
Stephan Wright9-Aug-04 1:12
Stephan Wright9-Aug-04 1:12 
Hy everyone!

I do want to overide the red cross for closing in my Windows.Form.

I managed to do so by using e.Cancel=false in my code but well then it cancels every closecommand, meaning it cancels my command for closing via a button or via the menuitem of my trayicon.

Well what I want to do is:
If the user clicks the read cross (WinXP Style!) then the minimize operation is called. If the user clicks the button "Close" (on my Form) the the application is quit and if the user selects "Close" from my contextmenu of the trayicon then the application quits as well.

But well how do I separate these three events, so the last two really close my application and the first one minimizes?

Thanks!
Stephan.
AnswerRe: how to override close Pin
exhaulted9-Aug-04 2:05
exhaulted9-Aug-04 2:05 
GeneralRe: how to override close Pin
Stephan Wright9-Aug-04 2:13
Stephan Wright9-Aug-04 2:13 
AnswerRe: how to override close Pin
leppie9-Aug-04 2:11
leppie9-Aug-04 2:11 
Generalattributes Pin
matt cole8-Aug-04 22:28
matt cole8-Aug-04 22:28 
GeneralConverting IEEE-float (e.g. C#) to Microsoft Binary format Pin
DennisMetz8-Aug-04 21:37
DennisMetz8-Aug-04 21:37 
GeneralASP.NET project into dll Pin
Alex Getman8-Aug-04 21:31
Alex Getman8-Aug-04 21:31 
GeneralRe: ASP.NET project into dll Pin
sreejith ss nair8-Aug-04 22:29
sreejith ss nair8-Aug-04 22:29 
GeneralRe: ASP.NET project into dll Pin
Alex Getman8-Aug-04 22:35
Alex Getman8-Aug-04 22:35 
GeneralRe: ASP.NET project into dll Pin
sreejith ss nair8-Aug-04 22:59
sreejith ss nair8-Aug-04 22:59 
GeneralRe: ASP.NET project into dll Pin
Alex Getman9-Aug-04 0:35
Alex Getman9-Aug-04 0:35 
GeneralRe: ASP.NET project into dll Pin
sreejith ss nair9-Aug-04 0:47
sreejith ss nair9-Aug-04 0:47 
Generalcloning menus Pin
Stephan Wright8-Aug-04 21:30
Stephan Wright8-Aug-04 21:30 
GeneralRe: cloning menus Pin
sreejith ss nair8-Aug-04 22:56
sreejith ss nair8-Aug-04 22:56 
GeneralMonitor resulation related Pin
ch_faf8-Aug-04 18:42
ch_faf8-Aug-04 18:42 
GeneralRe: Monitor resulation related Pin
sreejith ss nair8-Aug-04 20:16
sreejith ss nair8-Aug-04 20:16 
GeneralRe: Monitor resulation related Pin
ch_faf8-Aug-04 21:43
ch_faf8-Aug-04 21:43 
GeneralRe: Monitor resulation related Pin
sreejith ss nair8-Aug-04 22:17
sreejith ss nair8-Aug-04 22: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.