Exemplo n.º 1
0
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            ServerIP = Resources.Instance.SERVER_ADDRESS;



            SelectedLang = AllLang.Where(x => int.Parse(x.Value.ToString()) == Res.Instance.CurrentLangIndex).FirstOrDefault();
            SelectedMode = AllMode[(int)Theme.Instance.CurrentTheme];
        }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化
 /// </summary>
 public void Init()
 {
     SelectedLang = AllLang.Where(x => int.Parse(x.Value.ToString()) == Res.Instance.CurrentLangIndex).FirstOrDefault();
     _isInit      = true;
 }