Пример #1
0
        private void SetWaitPic()
        {
            FrmFrame ff = new FrmFrame()
            {
                Width = 284, Height = 258, Text = "正在复制,请稍后..."
            };

            ControlLibrary.Control.WaitPic wp = new ControlLibrary.Control.WaitPic();
            ff.SetUserControl(wp);
            ff.Show();
            while (SROperation2.Instance.isLoading)
            {
                wp.SetReadCount();
                ff.Refresh();
            }
        }
Пример #2
0
 private void SetWaitPic()
 {
     FrmFrame ff = new FrmFrame() { Width = 284, Height = 258, Text = "正在复制,请稍后..." };
     ControlLibrary.Control.WaitPic wp = new ControlLibrary.Control.WaitPic();
     ff.SetUserControl(wp);
     ff.Show();
     while (SROperation2.Instance.isLoading)
     {
         wp.SetReadCount();
         ff.Refresh();
     }
 }