ZSCY.Data.PersonalIno.PersonalIno C# (CSharp) Method

PersonalIno() public method

public PersonalIno ( ) : System
return System
        public PersonalIno()
        {

            appSetting = ApplicationData.Current.LocalSettings; //本地存储
            if (!appSetting.Values.ContainsKey(("college")) )
            {
                getInfo();
            }
            else
            {
                if(appSetting.Values["major"].ToString() == "")
                    getInfo();
           
            }
            this.Stunum = appSetting.Values["stuNum"].ToString();
            this.Name = appSetting.Values["name"].ToString();
            this.Classnum = appSetting.Values["classNum"].ToString();
            this.Major = appSetting.Values["major"].ToString();
            this.College = appSetting.Values["college"].ToString();
            this.Gender = appSetting.Values["gender"].ToString();

        }