Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing a continuously refreshed form during calculations Pin
Luc Pattyn19-May-10 8:17
sitebuilderLuc Pattyn19-May-10 8:17 
GeneralRe: Showing a continuously refreshed form during calculations Pin
PIEBALDconsult19-May-10 8:59
mvePIEBALDconsult19-May-10 8:59 
GeneralRe: Showing a continuously refreshed form during calculations Pin
PIEBALDconsult19-May-10 6:23
mvePIEBALDconsult19-May-10 6:23 
GeneralRe: Showing a continuously refreshed form during calculations Pin
Hankyaku19-May-10 7:12
Hankyaku19-May-10 7:12 
GeneralRe: Showing a continuously refreshed form during calculations Pin
Luc Pattyn19-May-10 9:43
sitebuilderLuc Pattyn19-May-10 9:43 
GeneralRe: Showing a continuously refreshed form during calculations Pin
PIEBALDconsult19-May-10 9:30
mvePIEBALDconsult19-May-10 9:30 
GeneralRe: Showing a continuously refreshed form during calculations Pin
Luc Pattyn19-May-10 9:52
sitebuilderLuc Pattyn19-May-10 9:52 
GeneralRe: Showing a continuously refreshed form during calculations Pin
PIEBALDconsult19-May-10 10:34
mvePIEBALDconsult19-May-10 10:34 
The EventArgsWrapper holds the reference to the InnerEventArgs that is common to Enabled... and Text...

public abstract class EventArgsWrapper : System.EventArgs
{
    public System.EventArgs InnerEventArgs { get ; private set ; }

    public EventArgsWrapper
    (
        System.EventArgs InnerEventArgs
    )
    {
        this.InnerEventArgs = InnerEventArgs ;

        return ;
    }
}

public sealed class TextEventArgs : EventArgsWrapper
{
    public string Text { get ; private set ; }

    public TextEventArgs
    (
        string           Text
    ,
        System.EventArgs InnerEventArgs
    )
    : base
    (
        InnerEventArgs
    )
    {
        this.Text = Text ;

        return ;
    }
}


But if I rewote it so that it held a Dictionary of various things, I probably wouldn't need to have a hierarchy of classes, only the one. That would reduce the amount of Reflection needed considerably.


Luc Pattyn wrote:
Maybe use your style for


I'm not saying I'd use it all; it's primarily an intellectual nerdy exercise.

Anyway, I need a nap. Perhaps I'll experiment more later.
GeneralRe: Showing a continuously refreshed form during calculations Pin
Luc Pattyn19-May-10 11:15
sitebuilderLuc Pattyn19-May-10 11:15 
AnswerRe: Showing a continuously refreshed form during calculations Pin
#realJSOP19-May-10 9:21
mve#realJSOP19-May-10 9:21 
QuestionWhat do I require to create a program that controls a device driver? Pin
Ian Durward19-May-10 2:47
Ian Durward19-May-10 2:47 
AnswerRe: What do I require to create a program that controls a device driver? Pin
Henry Minute19-May-10 3:31
Henry Minute19-May-10 3:31 
AnswerRe: What do I require to create a program that controls a device driver? Pin
Luc Pattyn19-May-10 3:51
sitebuilderLuc Pattyn19-May-10 3:51 
AnswerRe: What do I require to create a program that controls a device driver? Pin
The Man from U.N.C.L.E.19-May-10 4:06
The Man from U.N.C.L.E.19-May-10 4:06 
QuestionMuslim Holiday in Georgian Calendar Pin
dataminers19-May-10 1:47
dataminers19-May-10 1:47 
AnswerRe: Muslim Holiday in Georgian Calendar Pin
Pete O'Hanlon19-May-10 2:26
mvePete O'Hanlon19-May-10 2:26 
GeneralRe: Muslim Holiday in Georgian Calendar Pin
Luc Pattyn19-May-10 3:29
sitebuilderLuc Pattyn19-May-10 3:29 
GeneralRe: Muslim Holiday in Georgian Calendar Pin
Pete O'Hanlon19-May-10 3:43
mvePete O'Hanlon19-May-10 3:43 
GeneralRe: Muslim Holiday in Georgian Calendar Pin
Luc Pattyn19-May-10 3:53
sitebuilderLuc Pattyn19-May-10 3:53 
GeneralRe: Muslim Holiday in Georgian Calendar Pin
Luc Pattyn19-May-10 9:32
sitebuilderLuc Pattyn19-May-10 9:32 
AnswerRe: Muslim Holiday in Georgian Calendar Pin
The Man from U.N.C.L.E.19-May-10 2:41
The Man from U.N.C.L.E.19-May-10 2:41 
AnswerRe: Muslim Holiday in Georgian Calendar Pin
riced19-May-10 3:41
riced19-May-10 3:41 
QuestionUse event from C++ library in C# application Pin
Programm3r19-May-10 1:39
Programm3r19-May-10 1:39 
AnswerRe: Use event from C++ library in C# application Pin
Luc Pattyn19-May-10 1:45
sitebuilderLuc Pattyn19-May-10 1:45 
GeneralRe: Use event from C++ library in C# application Pin
Programm3r19-May-10 1:50
Programm3r19-May-10 1:50 

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.