Example #1
0
 private void butOK_Click(object sender, EventArgs e)
 {
     if (!changed)
     {
         DialogResult = DialogResult.OK;
         return;
     }
     DisplayFields.SaveListForCategory(ListShowing);
     DataValid.SetInvalid(InvalidTypes.InsCats);
     DialogResult = DialogResult.OK;
 }
Example #2
0
 private void butOK_Click(object sender, EventArgs e)
 {
     if (!changed)
     {
         DialogResult = DialogResult.OK;
         return;
     }
     if (category == DisplayFieldCategory.OrthoChart)
     {
         DisplayFields.SaveListForOrthoChart(ListShowing);
     }
     else
     {
         DisplayFields.SaveListForCategory(ListShowing, category);
     }
     DataValid.SetInvalid(InvalidType.DisplayFields);
     DialogResult = DialogResult.OK;
 }