Exemplo n.º 1
0
        public void setMembers(Members members)
        {
            this.members = members;
            for (int i = 0; i < 10; i++)
            {
                labels[i].Text = members.member[i].title;
                if (members.member[i].title.Trim().Equals(""))
                {
                    ud[i].Hide();
                }
                else
                {
                    ud[i].Show();
                }

                ud[i].Value = members.member[i].member;
            }
        }
Exemplo n.º 2
0
 private void loadConfig()
 {
     NameValueCollection appConfig = ConfigurationManager.AppSettings;
     members = new Members();
     members.load();
 }