public void RefreshPathSourceOptions()
{
if (lineFeature != null)
this.radioButtonLineFeature.Enabled = true;
else
this.radioButtonLineFeature.Enabled = false;
if (lineGraphic != null)
{
this.radioButtonLineGraphic.Enabled = true;
}
else
{
this.radioButtonLineGraphic.Enabled = false;
}
if (this.radioButtonLineFeature.Enabled)
this.radioButtonLineFeature.Checked = true;
else
this.radioButtonLineGraphic.Checked = true;
}
}