public static void ShowLoading(IWin32Window owner, string text, Image loadingImage) { CloseLoading(); LoadingBoxArgs args = new LoadingBoxArgs(owner, text, loadingImage); form = new MessageIconForm(); form.ShowLoading(args); }
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); }