Click here to Skip to main content
15,912,932 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can i do index=-1 into inner ComboBox in DataGridView Cell? Pin
dan!sh 20-May-09 23:24
professional dan!sh 20-May-09 23:24 
Answeraccess parent from a child control [modified] Pin
Mahesh_Blr20-May-09 22:33
Mahesh_Blr20-May-09 22:33 
AnswerRe: access parent from a child control Pin
musefan20-May-09 22:41
musefan20-May-09 22:41 
GeneralRe: access parent from a child control Pin
Nagy Vilmos20-May-09 22:52
professionalNagy Vilmos20-May-09 22:52 
GeneralRe: access parent from a child control Pin
musefan20-May-09 23:02
musefan20-May-09 23:02 
GeneralRe: access parent from a child control Pin
Nagy Vilmos20-May-09 23:45
professionalNagy Vilmos20-May-09 23:45 
GeneralRe: access parent from a child control Pin
musefan20-May-09 23:58
musefan20-May-09 23:58 
GeneralRe: access parent from a child control Pin
DaveyM6920-May-09 23:35
professionalDaveyM6920-May-09 23:35 
Use musefan's 3rd option above - the event driven one. If you're just wanting the signature to be the standard
object sender, EventArgs e then you don't need to create your own delegate, just use EventHandler like this:
public event EventHandler UCEvent;
protected virtual void OnUCEvent(EventArgs e)
{   
    EventHandler eh = UCEvent;
    if(eh != null)
        eh(this, e);
}


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)
Why are you using VB6? Do you hate yourself? (Christian Graus)

AnswerRe: access parent from a child control Pin
OriginalGriff21-May-09 0:24
mveOriginalGriff21-May-09 0:24 
GeneralRe: access parent from a child control Pin
DaveyM6921-May-09 1:09
professionalDaveyM6921-May-09 1:09 
GeneralRe: access parent from a child control Pin
OriginalGriff21-May-09 1:39
mveOriginalGriff21-May-09 1:39 
GeneralRe: access parent from a child control Pin
DaveyM6921-May-09 1:57
professionalDaveyM6921-May-09 1:57 
GeneralRe: access parent from a child control Pin
OriginalGriff21-May-09 2:04
mveOriginalGriff21-May-09 2:04 
AnswerRe: access parent from a child control Pin
Mahesh_Blr24-May-09 20:08
Mahesh_Blr24-May-09 20:08 
QuestionDatabase Connection: Leave Open or Open and Close each time Pin
Programm3r20-May-09 22:29
Programm3r20-May-09 22:29 
AnswerRe: Database Connection: Leave Open or Open and Close each time Pin
musefan20-May-09 22:35
musefan20-May-09 22:35 
QuestionRe: Database Connection: Leave Open or Open and Close each time Pin
Programm3r20-May-09 23:01
Programm3r20-May-09 23:01 
AnswerRe: Database Connection: Leave Open or Open and Close each time Pin
musefan20-May-09 23:09
musefan20-May-09 23:09 
GeneralRe: Database Connection: Leave Open or Open and Close each time Pin
Programm3r20-May-09 23:21
Programm3r20-May-09 23:21 
GeneralRe: Database Connection: Leave Open or Open and Close each time Pin
venom007-Jul-09 22:48
venom007-Jul-09 22:48 
GeneralRe: Database Connection: Leave Open or Open and Close each time Pin
musefan7-Jul-09 23:21
musefan7-Jul-09 23:21 
GeneralRe: Database Connection: Leave Open or Open and Close each time Pin
venom008-Jul-09 12:54
venom008-Jul-09 12:54 
AnswerRe: Database Connection: Leave Open or Open and Close each time Pin
J4amieC21-May-09 0:54
J4amieC21-May-09 0:54 
QuestionRe: Database Connection: Leave Open or Open and Close each time Pin
Programm3r21-May-09 2:31
Programm3r21-May-09 2:31 
AnswerRe: Database Connection: Leave Open or Open and Close each time Pin
J4amieC21-May-09 2:55
J4amieC21-May-09 2:55 

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.