Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insertions sort reversed - optimize Pin
harold aptroot3-Jun-10 1:00
harold aptroot3-Jun-10 1:00 
GeneralRe: Insertions sort reversed - optimize Pin
bolikej3-Jun-10 1:21
bolikej3-Jun-10 1:21 
GeneralRe: Insertions sort reversed - optimize [modified] Pin
harold aptroot3-Jun-10 1:42
harold aptroot3-Jun-10 1:42 
GeneralRe: Insertions sort reversed - optimize Pin
harold aptroot3-Jun-10 2:15
harold aptroot3-Jun-10 2:15 
GeneralRe: Insertions sort reversed - optimize Pin
bolikej3-Jun-10 2:31
bolikej3-Jun-10 2:31 
QuestionBest performance LAN communication for a Server/Client application Pin
teknolog1232-Jun-10 22:58
teknolog1232-Jun-10 22:58 
AnswerRe: Best performance LAN communication for a Server/Client application Pin
#realJSOP3-Jun-10 1:50
professional#realJSOP3-Jun-10 1:50 
QuestionCreating Events Pin
Roger Wright2-Jun-10 22:37
professionalRoger Wright2-Jun-10 22:37 
I've got a user control with 6 or 7 elements that interact with a user; I'd like to notify the host Form whenever any of them change states or values. I've read what I could find at MSDN, along with several of the articles on CP, but I'm still baffled. All I want to do is raise an event to be processed by the host form that passes the name (or .Tag value) of the item that changed. The form can then decide whether to read the new value or not. That seems to me to be something that should be fairly simple, but all I'm finding are articles that are far too complex. So far I've got the following:

public delegate void ValueChangeEvent(string source);
public static event ValueChangeEvent NewValue;


The IDE is sniveling about wanting a body declaration for NewValue, but I have no idea what it wants, nor any clue as to what to do next. Can someone shed some light on this for me?
"A Journey of a Thousand Rest Stops Begins with a Single Movement"

AnswerRe: Creating Events Pin
Abhinav S2-Jun-10 23:05
Abhinav S2-Jun-10 23:05 
AnswerRe: Creating Events Pin
OriginalGriff3-Jun-10 0:45
mveOriginalGriff3-Jun-10 0:45 
GeneralRe: Creating Events Pin
Roger Wright3-Jun-10 4:08
professionalRoger Wright3-Jun-10 4:08 
AnswerRe: Creating Events Pin
DaveyM693-Jun-10 1:38
professionalDaveyM693-Jun-10 1:38 
GeneralRe: Creating Events Pin
Roger Wright3-Jun-10 4:09
professionalRoger Wright3-Jun-10 4:09 
QuestionSystem.DBNull returned for whitespace strings Pin
GDavy2-Jun-10 22:07
GDavy2-Jun-10 22:07 
AnswerRe: System.DBNull returned for whitespace strings Pin
Pete O'Hanlon2-Jun-10 23:30
mvePete O'Hanlon2-Jun-10 23:30 
GeneralRe: System.DBNull returned for whitespace strings Pin
GDavy2-Jun-10 23:59
GDavy2-Jun-10 23:59 
GeneralRe: System.DBNull returned for whitespace strings Pin
Pete O'Hanlon3-Jun-10 0:23
mvePete O'Hanlon3-Jun-10 0:23 
QuestionProblem reading multiple bytes from serialport Pin
myreki2-Jun-10 21:35
myreki2-Jun-10 21:35 
AnswerRe: Problem reading multiple bytes from serialport Pin
Luc Pattyn3-Jun-10 2:14
sitebuilderLuc Pattyn3-Jun-10 2:14 
QuestionNotifyPropertyChanged and ReadValue() not working Pin
Mycroft Holmes2-Jun-10 21:20
professionalMycroft Holmes2-Jun-10 21:20 
AnswerRe: NotifyPropertyChanged and ReadValue() not working Pin
Henry Minute2-Jun-10 22:14
Henry Minute2-Jun-10 22:14 
GeneralRe: NotifyPropertyChanged and ReadValue() not working Pin
Mycroft Holmes2-Jun-10 22:39
professionalMycroft Holmes2-Jun-10 22:39 
AnswerRe: NotifyPropertyChanged and ReadValue() not working - kludged Pin
Mycroft Holmes2-Jun-10 22:21
professionalMycroft Holmes2-Jun-10 22:21 
AnswerRe: NotifyPropertyChanged and ReadValue() not working Pin
GDavy2-Jun-10 22:25
GDavy2-Jun-10 22:25 
GeneralRe: NotifyPropertyChanged and ReadValue() not working Pin
Mycroft Holmes2-Jun-10 22:37
professionalMycroft Holmes2-Jun-10 22:37 

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.