private void ShowScene(string id) { Scene scene = avgsReader.GetSceneById(id); BGpath = scene.Path; Render(); ThumbPicBG.Image = Image.FromFile(scene.Path); tbInfoSCENE.Text = scene.Name + "[" + scene.ID + "]"; Application.DoEvents(); //GroupDisplay.Refresh(); //groupINFO.Refresh(); System.Threading.Thread.Sleep(1000); Application.DoEvents(); }
/// <summary> /// 处理背景 /// </summary> /// <param name="id">背景ID</param> private static void ShowBackground(string id) { Scene scene = avgsReader.GetSceneById(id); BackgroundSrv.Path = scene.Path; }