Exemple #1
0
        public StartPageViewModel()
        {
            frp = Frp.GetInstance();
            IniSection s = frp.GetCommon();

            _port      = s.Get("server_port");
            _ip        = s.Get("server_addr");
            _password  = s.Get("privilege_token");
            frp.append = AddString;
            _str       = "";
            Items      = frp.GetItems(frp.ReloadConfig, 0);
        }
Exemple #2
0
 public void Reload()
 {
     Items = frp.GetItems(frp.ReloadConfig, 0);
 }
 public ConfigViewModel()
 {
     Items = frp.GetItems(Change, 1);
     IsAllItemsSelected = false;
 }