public bool Show(ToastMessage toast) { if (this.IsPlaying) { return(false); } this.tb_title.Text = toast.Title; this.tb_content.Text = toast.Content; SetStyle(toast.Type); this.AnimationShow(); return(true); }
public bool Show(ToastMessage toast) { if (this.IsPlaying) { return false; } this.tb_title.Text = toast.Title; this.tb_content.Text = toast.Content; SetStyle(toast.Type); this.AnimationShow(); return true; }