public void Show() { this.Hide(); this.mToast = new Toast(this.mParent, LocaleStrings.GetLocalizedString("STRING_FULL_SCREEN_TOAST", "")); Animate.AnimateWindow(this.mToast.Handle, 500, 262148); this.mToast.Show(); this.mTimer.Start(); }
private void Timeout(object obj, EventArgs evt) { this.mTimer.Stop(); int dwFlags = 327688; if (this.mToast == null) { return; } Animate.AnimateWindow(this.mToast.Handle, 500, dwFlags); this.mToast.Hide(); }