private void SetOption(enuOption option) { this.CurrentOption = option; this.pnlMembergroup.Visible = (option == enuOption.Membergroup); this.pnlProject.Visible = (option == enuOption.Project); this.pnlMember.Visible = (option == enuOption.Member); }