CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 16

Threaded View

  1. #7
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: How to change highlight color on button click in C#

    Quote Originally Posted by bharusri View Post
    I don't find mousehover event under button. But when I copy and paste the code I don't get any error and mousehover event doesn't fire. I am using a student version of Visual Studio. Will there be any limitations because of that. Please let me know.

    Thank you so much for the help. I appreciate it.
    There are no differences that way I think. But you need to add this delegates to the controls so they are used, otherwise they never would be called

    using an delegate always needs two actions: a) creating the delegate
    b) connectiong it to the event where it should be fired
    a) is already done
    b) is to be done in the property window - event section
    Doing that writes code to the formDesign.cs See attached picture
    Attached Images Attached Images
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured