CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011
    Posts
    18

    I need help with C sharp Programming?

    I'm still a beginner with this language and still learning, I just have a question. I am using Microsoft visual c sharp, its a small simple program that tells what color is made when you mix primary colors. There is also a clear button three checkboxes (red, blue, and yellow) a button and clear button and a lable for output
    but what code do i use to uncheck the boxes with the clear button
    thanks alot

  2. #2
    Join Date
    Mar 2011
    Location
    London
    Posts
    54

    Re: I need help with C sharp Programming?

    For a windows form app
    checkBox1.Checked = false;

    For a WPF project
    checkBox1.IsChecked = false;

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