Click here to Skip to main content
15,909,530 members
Home / Discussions / C#
   

C#

 
AnswerRe: How add delay in Displaying ToolTip Text Pin
dan!sh 5-Jan-09 19:29
professional dan!sh 5-Jan-09 19:29 
GeneralRe: How add delay in Displaying ToolTip Text Pin
himuskanhere5-Jan-09 20:07
himuskanhere5-Jan-09 20:07 
GeneralRe: How add delay in Displaying ToolTip Text Pin
N a v a n e e t h5-Jan-09 21:08
N a v a n e e t h5-Jan-09 21:08 
GeneralRe: How add delay in Displaying ToolTip Text Pin
dan!sh 5-Jan-09 21:09
professional dan!sh 5-Jan-09 21:09 
GeneralRe: How add delay in Displaying ToolTip Text Pin
Dragonfly_Lee5-Jan-09 21:14
Dragonfly_Lee5-Jan-09 21:14 
QuestionPassing Override Method into Deligates Pin
satsumatable5-Jan-09 17:38
satsumatable5-Jan-09 17:38 
AnswerRe: Passing Override Method into Deligates Pin
Christian Graus5-Jan-09 18:15
protectorChristian Graus5-Jan-09 18:15 
AnswerRe: Passing Override Method into Deligates Pin
N a v a n e e t h5-Jan-09 19:49
N a v a n e e t h5-Jan-09 19:49 
As Christian said, you might be doing it wrong. See the following code. It works as you expect
class Parent
    {
        public virtual void SayHello(){
            Console.WriteLine("Hello from parent");
        }
    }

    class Child : Parent
    {
        public override void SayHello() {
            Console.WriteLine("Hello from child");
        }
    }

    class Program
    {
        delegate void FooDelegate();
        static void Main(string[] args){
            Parent p = new Parent();
            FooDelegate foo1 = p.SayHello;
            Parent p1 = new Child();
            FooDelegate foo2 = p1.SayHello;

            foo1(); // parent will say hello
            foo2(); // child will say hello
        }
    }



AnswerRe: Passing Override Method into Deligates Pin
Dragonfly_Lee5-Jan-09 21:20
Dragonfly_Lee5-Jan-09 21:20 
QuestionExcel chart to image Pin
mjmbball5-Jan-09 16:35
mjmbball5-Jan-09 16:35 
AnswerRe: Excel chart to image Pin
dan!sh 5-Jan-09 17:52
professional dan!sh 5-Jan-09 17:52 
QuestionHow do I get user's local time . I am using asp.net ,C# Pin
mdpavel5-Jan-09 16:30
mdpavel5-Jan-09 16:30 
AnswerRe: How do I get user's local time . I am using asp.net ,C# Pin
Guffa5-Jan-09 16:46
Guffa5-Jan-09 16:46 
AnswerRe: How do I get user's local time . I am using asp.net ,C# Pin
mdpavel5-Jan-09 17:13
mdpavel5-Jan-09 17:13 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
Guffa5-Jan-09 17:53
Guffa5-Jan-09 17:53 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
mdpavel5-Jan-09 18:00
mdpavel5-Jan-09 18:00 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
Christian Graus5-Jan-09 18:17
protectorChristian Graus5-Jan-09 18:17 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
mdpavel5-Jan-09 18:41
mdpavel5-Jan-09 18:41 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
Dave Kreskowiak5-Jan-09 18:49
mveDave Kreskowiak5-Jan-09 18:49 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
dan!sh 5-Jan-09 19:21
professional dan!sh 5-Jan-09 19:21 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
Tom Deketelaere5-Jan-09 22:57
professionalTom Deketelaere5-Jan-09 22:57 
GeneralRe: How do I get user's local time . I am using asp.net ,C# Pin
Guffa5-Jan-09 20:06
Guffa5-Jan-09 20:06 
Questiondll and app config - need to cut/paste everytime...? [modified] Pin
devvvy5-Jan-09 15:53
devvvy5-Jan-09 15:53 
AnswerRe: Simple question on dll and app config Pin
Mycroft Holmes5-Jan-09 16:11
professionalMycroft Holmes5-Jan-09 16:11 
GeneralRe: Simple question on dll and app config Pin
devvvy5-Jan-09 16:18
devvvy5-Jan-09 16:18 

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.