Results 1 to 3 of 3

Thread: [RESOLVED] Saving colour of a brush to My.Settings

  1. #1

    Thread Starter
    Fanatic Member Emcrank's Avatar
    Join Date
    Jan 2009
    Posts
    566

    Resolved [RESOLVED] Saving colour of a brush to My.Settings

    Ok all i need to do is how do i create a brush color in my.settings?
    because System.Drawing.Color is not for Brushes is it? Please help. thanks in advance.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Saving colour of a brush to My.Settings

    Given that the Brush class is a member of the System.Drawing namespace, it's a fair bet that any colour associated with a Brush object will be from the System.Drawing namespace too. I suggest that you spend some time learning how to use the MSDN documentation. Go to the documentation for the Brush class. Click the link for the SolidBrush class, which is one of the derived Brushes that uses a Color. Follow any links that lead you to any reference to a Color and then click that link. You will find yourself looking at the documentation for the System.Drawing.Color structure.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

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