示例#1
0
 public static void ShowLoading(IWin32Window owner, string text, Image loadingImage)
 {
     CloseLoading();
     LoadingBoxArgs args = new LoadingBoxArgs(owner, text, loadingImage);
     form = new MessageIconForm();
     form.ShowLoading(args);
 }
示例#2
0
        public static void ShowLoading(IWin32Window owner, string text, Image loadingImage)
        {
            CloseLoading();
            LoadingBoxArgs args = new LoadingBoxArgs(owner, text, loadingImage);

            form = new MessageIconForm();
            form.ShowLoading(args);
        }
示例#3
0
 public static void Notify(IWin32Window owner, string text, NotifyBoxIcon icon, int interval)
 {
     CloseForm();
     var img = GetImage(icon);
     LoadingBoxArgs args = new LoadingBoxArgs(owner, text, img);
     form = new MessageIconForm();
     form.Special = false;
     form.SkinOpacity = 1;
     form.ShowLoading(args);
     StartTimer(interval);
 }
示例#4
0
        public static void Notify(IWin32Window owner, string text, NotifyBoxIcon icon, int interval)
        {
            CloseForm();
            var            img  = GetImage(icon);
            LoadingBoxArgs args = new LoadingBoxArgs(owner, text, img);

            form             = new MessageIconForm();
            form.Special     = false;
            form.SkinOpacity = 1;
            form.ShowLoading(args);
            StartTimer(interval);
        }