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

C#

 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Xiangyang Liu 刘向阳25-Jun-04 15:47
Xiangyang Liu 刘向阳25-Jun-04 15:47 
GeneralToolboxBitmap Icon Pin
The_Soul_Of_Rock24-Jun-04 14:48
The_Soul_Of_Rock24-Jun-04 14:48 
GeneralRe: ToolboxBitmap Icon Pin
Heath Stewart25-Jun-04 3:57
protectorHeath Stewart25-Jun-04 3:57 
GeneralConverting byte[] to Hex String; Pin
Bo Hunter24-Jun-04 12:27
Bo Hunter24-Jun-04 12:27 
GeneralRe: Converting byte[] to Hex String; Pin
Heath Stewart24-Jun-04 12:42
protectorHeath Stewart24-Jun-04 12:42 
GeneralRe: Converting byte[] to Hex String; Pin
Bo Hunter24-Jun-04 14:24
Bo Hunter24-Jun-04 14:24 
GeneralRe: Converting byte[] to Hex String; Pin
Heath Stewart25-Jun-04 3:33
protectorHeath Stewart25-Jun-04 3:33 
GeneralRe: Converting byte[] to Hex String; Pin
Bo Hunter25-Jun-04 13:05
Bo Hunter25-Jun-04 13:05 
GeneralRe: Converting byte[] to Hex String; Pin
Karl 200027-Jun-04 10:16
Karl 200027-Jun-04 10:16 
GeneralRe: Converting byte[] to Hex String; Pin
Heath Stewart27-Jun-04 17:37
protectorHeath Stewart27-Jun-04 17:37 
GeneralRe: Converting byte[] to Hex String; Pin
Karl 200027-Jun-04 10:08
Karl 200027-Jun-04 10:08 
GeneralClearing Panel from Event Handler Pin
RobertVG24-Jun-04 11:21
RobertVG24-Jun-04 11:21 
GeneralRe: Clearing Panel from Event Handler Pin
Heath Stewart24-Jun-04 12:25
protectorHeath Stewart24-Jun-04 12:25 
GeneralRe: Clearing Panel from Event Handler Pin
RobertVG24-Jun-04 13:55
RobertVG24-Jun-04 13:55 
GeneralRe: Clearing Panel from Event Handler Pin
RobertVG24-Jun-04 13:56
RobertVG24-Jun-04 13:56 
GeneralRe: Clearing Panel from Event Handler Pin
RobertVG24-Jun-04 14:11
RobertVG24-Jun-04 14:11 
GeneralConcurrency Pin
IamADotNetGuy24-Jun-04 10:01
IamADotNetGuy24-Jun-04 10:01 
GeneralRe: Concurrency Pin
Dave Kreskowiak24-Jun-04 10:17
mveDave Kreskowiak24-Jun-04 10:17 
GeneralRe: Concurrency Pin
Xiangyang Liu 刘向阳24-Jun-04 17:13
Xiangyang Liu 刘向阳24-Jun-04 17:13 
GeneralDetaching event handlers Pin
Flack24-Jun-04 9:57
Flack24-Jun-04 9:57 
Hello,

In one of the apps I came across in a book Im reading, a form attaches itself to the SystemEvents.UserPreferenceChangedEvent. In the Dispose method of this form, it detaches itself.

My question is this: If the form is being disposed anyway, when you close it, why do you need to explicitly detach yourself from this event? I have never seen the need to detach events in the Dispose method before (for example, if the form is attached to the regular mouse events). What would happen if I didnt detach the form from the event?

Also, do controls automatically remove themselves form any events they are attached to when they are deleted/removed from the form?

Thanx for the help Big Grin | :-D
-Flack
GeneralRe: Detaching event handlers Pin
Heath Stewart24-Jun-04 10:27
protectorHeath Stewart24-Jun-04 10:27 
GeneralNeed PDF help Pin
Unforsacable24-Jun-04 9:35
Unforsacable24-Jun-04 9:35 
GeneralRe: Need PDF help Pin
Heath Stewart24-Jun-04 9:47
protectorHeath Stewart24-Jun-04 9:47 
GeneralRe: Need PDF help Pin
Anonymous24-Jun-04 11:14
Anonymous24-Jun-04 11:14 
GeneralRe: Need PDF help Pin
Heath Stewart24-Jun-04 12:30
protectorHeath Stewart24-Jun-04 12:30 

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.