Solved! Go to Solution.
Am I on the right path here with my checkboxes and radio button programming. I have about three different checkboxes and a few radio button that I need to use in a If then statement. Unless, there is a simplier way of calling a layer using them...
private void checkBox1_Checked Changed(object sender, EventArgs e)
If (checkboxstate.checked == true) Then
If radioAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"......
All help is extremely appreciated. Thanks!
" tags (the # symbol in the post editor) to post you code.
Also, for boolean checking, you don't need == true. i.e.:
// checked
if (myCheckBox.Checked)
{
// some code
}
// not checked
if (!myCheckbox.Checked)
{
// some code
}
private void checkBox1_Checked Changed(object sender, EventArgs e)
If (checkboxstate.checked == true) Then
If radioAtr.Enabled Then openFileDialog.InitialDirectory = "K:\"......
If checkboxstate = true Then
If checkboxManual = true Then openFiledialog.InitialDirectory = "K:\......