public void LabelSurveyEntryButtons() { currentUser.SurveyEntryCodes.Clear(); DBAction.FillUserSurveyFilters(currentUser); cmdOpenSurveyEntry.Text = currentUser.SurveyEntryCodes[0]; cmdOpenSurveyEntry2.Text = currentUser.SurveyEntryCodes[1]; cmdOpenSurveyEntry3.Text = currentUser.SurveyEntryCodes[2]; }
public MainMenu() { InitializeComponent(); currentUser = DBAction.GetUser(Environment.UserName); DBAction.FillUserSurveyFilters(currentUser); }