/// <summary> /// 加载数据 /// </summary> private void LoadData() { //ViewData.Clear(); //bool forceProcess = false; //判断文件是否存在 //if (File.Exists(ViewDataFile)) //{ // ViewData.RestoreLayoutFromXml(ViewDataFile); //} //if (ViewData.FirstRun) //{ // GenerateSampleData(); // forceProcess = true; //} //InitNavBar(); //UpdateMainGalleryContent(forceProcess); StudentServices ss = new StudentServices(); usersList = ss.GetALLUsers(); }