Ejemplo n.º 1
0
        public void comboBox4_SelectedIndexChanged(object sender, EventArgs e)
        {
            comboBox4.Items.Add("adsf");
            UserInformation.UserInfo NewUser = new UserInformation.UserInfo();

            List <UserInformation.UserInfo> Profiles = NewUser.DBResults();

            for (int i = 0; i < Profiles.Count(); i++)
            {
                comboBox4.Items.Add(Profiles[i].ProfileName);
            }
        }
Ejemplo n.º 2
0
        private void Main_Load(object sender, EventArgs e)
        {
            profilesPage1.Visible = false;
            createTasks1.Visible  = false;

            //UserInformation.UserInfo NewUser = new UserInformation.UserInfo();

            List <UserInformation.UserInfo> Profiles = NewUser.DBResults();

            for (int i = 0; i < Profiles.Count(); i++)
            {
                if (Profiles[i].FullName == null)
                {
                    comboBox4.Items.Add(i);
                }
                else
                {
                    comboBox4.Items.Add(Profiles[i].FullName);
                }
            }
        }