Пример #1
0
        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();
        }
Пример #2
0
        /// <summary>
        /// 处理背景
        /// </summary>
        /// <param name="id">背景ID</param>
        private static void ShowBackground(string id)
        {
            Scene scene = avgsReader.GetSceneById(id);

            BackgroundSrv.Path = scene.Path;
        }