public static void getFromDb()
        {
            var tempList = BaseAdapter.getAll <Tb_taskLifecycle>();

            if (tempList.Count() > 0)
            {
                list.Clear();
                list = tempList.ToList();
            }
        }
Beispiel #2
0
        public static void getFromDb()
        {
            var tempList = BaseAdapter.getAll <Tb_indicator>();

            if (tempList.Count() > 0)
            {
                list.Clear();
                list = tempList.ToList();
            }
        }
Beispiel #3
0
        private bool login()
        {
            var tempList = BaseAdapter.getAll <Tb_code>();

            if (tempList.Count() == 0)
            {
                return(false);
            }
            HttpWorker.getUser(txt_username.Text.Trim());//模拟用户获取
            //HttpWorker.login(txt_username.Text.Trim(), txt_password.Text.Trim());
            //HttpWorker.getUserList();
            return(true);
        }