Error 1 The event;System.Windows.Controls.Primitives.ToggleButton.Checked& can only appear on the left hand side of += or -= "
public void test() { if (checkBox1.Checked) { MessageBox.Show("checkbox is checked now"); } else { MessageBox.Show("checkbox is unchecked now"); } }
if (checkBox1.IsChecked)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)