locked
Change button colour RRS feed

  • Question

  • Hello I'm new to C#, I don't know if this is the correct forum but.

    I want to change the colour of a button I can change in in Visual Studios Properties however this leaves a blue border around the first button and a white border around other buttons. Also i would like to add some MouseEnter and MouseLeave effect but I am unsure how to could someone please help?

    You can see a picture of my problem here: http://s20.postimg.org/9t1m8c76l/Button.jpg

    Thursday, February 4, 2016 1:33 AM

Answers

  • Implement the MouseHover instead, and regarding the border customization you can set the FlatStyle to Flat and then adjust the FlatAppearance properties as required:


    Fouad Roumieh

    • Marked as answer by Raven2514 Friday, February 5, 2016 7:06 AM
    Thursday, February 4, 2016 6:51 AM

All replies

  • Implement the MouseHover instead, and regarding the border customization you can set the FlatStyle to Flat and then adjust the FlatAppearance properties as required:


    Fouad Roumieh

    • Marked as answer by Raven2514 Friday, February 5, 2016 7:06 AM
    Thursday, February 4, 2016 6:51 AM
  • Thanks you so much man, it's working perfectly. As far as the Mouse hover if i changed MouseOverBackColor it does the same thing. thank you
    Friday, February 5, 2016 12:37 AM
  • Raven,

    Make sure to mark his reply as an answer.

    Thanks


    My Technet Articles

    If you like this or another reply, vote it up!
    If you think this or another reply answers the original question, mark it or propose it as an answer.


    Mauricio Feijo
    www.mauriciofeijo.com

    Friday, February 5, 2016 12:57 AM
  • Thanks you, I just did that
    Friday, February 5, 2016 7:06 AM