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:\"......
You as the user check boxes to pull up the shapefile. For example, they want a map of the state of texas with all the manual traffic count stations on that map..
Is it the checkbox commands I have wrong?
Private Sub State_Change() If checkboxmanual = true then openFileDialog.InitialDirectory = "K:\"
Yes, same project. I will look for the answer you guys gave me. Although, it should be different now that I'm going to use tabs correct? So, the program on each tab should be something like : Private Sub State_Change() If checkboxmanual = true then openFileDialog.InitialDirectory = "K:\"
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.