Windows Toast Notifications
========================
C# demo project for easily creating toast-style notifications in a Windows application.
Original modified and cleaned up version of code mentioned in Attribution section below was for use in [EDGE Shop Flag Notifier](http://www.autopoint.com/helpdesk) (click on Add-Ons tab).
Features
---------------------
* **Toast-Style Notifications**
* Notifications that pop up near the system tray
* **Notification Animations**
* 4 different ways that a notification can appear (slide, fade, roll, center) and from 4 different directions (up, down, left, right)
* **Custom Duration**
* Notifications can be sticky (click to dismiss) or can disappear based on the defined lifetime
* **Sounds**
* Easy to add sounds to the notifications
Demo
---------------------
Simply build and run the solution. Demo notification launcher allows you to test out the different customizations available.
How to Use
---------------------
1. Add the following class files to your project:
- FormAnimator.cs
- NativeMethods.cs
2. Add the Notifications form files to your project:
- Notification.cs
- Notification.designer.cs
- Notification.resx
3. Customize the appearance of the Notification form
- Size, color, background (demo uses an image for the background)
4. Create a toast notification form object in your project's code and call Show() to display it
```csharp
Notification toastNotification = new Notification(title, body, duration, animationMethod, animationDirection);
toastNotification.Show();
```
Attribution
---------------------
Core code originally retrieved from URL below. No license information supplied.
* http://www.vbforums.com/showthread.php?t=547778
没有合适的资源?快使用搜索试试~ 我知道了~
c# winform 类似android toast消息功能
共27个文件
cs:11个
wav:8个
resx:3个
4星 · 超过85%的资源 需积分: 44 81 下载量 184 浏览量
2018-03-06
15:01:35
上传
评论 2
收藏 1.23MB ZIP 举报
温馨提示
c# winform 类似android toast消息功能, c# winform 类似android toast消息功能,不能选0分,所以选了最小的分,望见谅.. 转载:http://www.vbforums.com/showthread.php?547778-Animated-Window-Effects-with-quot-Toast-quot-Popup-Demo,貌似这个转载已经不能下载了
资源推荐
资源详情
资源评论
收起资源包目录
windows-toast-notifications.zip (27个子文件)
windows-toast-notifications-master
ToastNotifications
Notification.designer.cs 5KB
NotificationLauncher.resx 6KB
Notification.cs 4KB
Program.cs 451B
NativeMethods.cs 2KB
Sounds
heritage.wav 167KB
landscape.wav 177KB
normal.wav 222KB
garden.wav 202KB
cityscape.wav 204KB
sonata.wav 144KB
savanna.wav 171KB
festival.wav 217KB
Notification.resx 171KB
NotificationLauncher.cs 3KB
ToastNotifications.csproj 5KB
FormAnimator.cs 10KB
NotificationInfo.cs 857B
Properties
Resources.resx 5KB
Settings.settings 242B
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Resources.Designer.cs 3KB
NotificationLauncher.Designer.cs 11KB
WindowsToastNotifications.sln 876B
.gitignore 562B
README.md 2KB
共 27 条
- 1
为什么2013
- 粉丝: 17
- 资源: 29
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页