Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Editing a datagridview component - windows forms Pin
Xmen Real 8-Mar-09 15:28
professional Xmen Real 8-Mar-09 15:28 
AnswerRe: Editing a datagridview component - windows forms Pin
jaypatel5128-Mar-09 20:49
jaypatel5128-Mar-09 20:49 
QuestionReading video feed from Philips SAA7130 chip/MPEG4 using C# Pin
Stephan Johnson8-Mar-09 7:54
Stephan Johnson8-Mar-09 7:54 
QuestionShell Extension for context menu Pin
Monin D.8-Mar-09 7:34
Monin D.8-Mar-09 7:34 
QuestionReading Numeric column in excel as text . Pin
unitecsoft8-Mar-09 7:18
unitecsoft8-Mar-09 7:18 
AnswerRe: Reading Numeric column in excel as text ( Modified) . Pin
unitecsoft8-Mar-09 8:09
unitecsoft8-Mar-09 8:09 
GeneralRe: Reading Numeric column in excel as text ( Modified) . Pin
Ashfield8-Mar-09 8:48
Ashfield8-Mar-09 8:48 
QuestionStatic event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 6:24
professionalDaveyM698-Mar-09 6:24 
If an instance of an object subscribes to a static event, even if the instance goes out of scope it remains 'alive' which could potentially cause serious memory problems.

Obviously, the subscriber unregistering itself from the delegate's invocation list solves this, but is there anyway to do this from the class with the event rather than relying on the subscriber over which we may not have control (if we're not writing that code)?

I rarely use static events, this is more out of academic interest.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

AnswerRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 7:12
harold aptroot8-Mar-09 7:12 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 7:59
professionalDaveyM698-Mar-09 7:59 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 8:05
harold aptroot8-Mar-09 8:05 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 8:56
professionalDaveyM698-Mar-09 8:56 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 9:15
harold aptroot8-Mar-09 9:15 
AnswerRe: Static event preventing instance subscriber from disposing. Pin
N a v a n e e t h8-Mar-09 16:35
N a v a n e e t h8-Mar-09 16:35 
QuestionFiltering in BindingSource of a generic List Pin
jaypatel5128-Mar-09 5:42
jaypatel5128-Mar-09 5:42 
AnswerRe: Filtering in BindingSource of a generic List Pin
Mycroft Holmes8-Mar-09 12:35
professionalMycroft Holmes8-Mar-09 12:35 
GeneralRe: Filtering in BindingSource of a generic List Pin
jaypatel5128-Mar-09 20:34
jaypatel5128-Mar-09 20:34 
QuestionAutomatic mailing list filter by parameters from database [an architecture problem] Pin
aviadqwerty8-Mar-09 5:33
aviadqwerty8-Mar-09 5:33 
Questionrunning tastk/application on shutdown [modified] Pin
fabgar8-Mar-09 3:39
fabgar8-Mar-09 3:39 
AnswerRe: running tastk/application on shutdown Pin
fabgar9-Mar-09 8:03
fabgar9-Mar-09 8:03 
QuestionLocation of page on the printpreview control Pin
baranils8-Mar-09 2:47
baranils8-Mar-09 2:47 
Questionexporting a Drown chart in Owc11 Pin
reza assar7-Mar-09 23:49
reza assar7-Mar-09 23:49 
Questionfacing error in calling a com component from code? Pin
sailesh_gupta7-Mar-09 23:04
sailesh_gupta7-Mar-09 23:04 
Questionhow to convert web page to image file using c# in .net Pin
vinodkrebc7-Mar-09 21:33
vinodkrebc7-Mar-09 21:33 
AnswerRe: how to convert web page to image file using c# in .net Pin
Xmen Real 7-Mar-09 23:23
professional Xmen Real 7-Mar-09 23:23 

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.