private void SetUpdateMode(SolutionUpdateMode updateMode) { switch (updateMode) { case SolutionUpdateMode.Add: this.radioAdd.Checked = true; break; case SolutionUpdateMode.AddRemove: this.radioAddRemove.Checked = true; break; case SolutionUpdateMode.Replace: this.radioReplace.Checked = true; break; } }