MinkiDev / NotiSharp

Customized notification service library for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo NotiSharp

Customized notification service library for Windows.

NuGet version (NotiSharp)

Screenshot

Usage examples

Create a popup form instance

NotiSharp.Popup pup = new NotiSharp.Popup();

Set content text for notification

pup.SetText("This is an example content for NotiSharp");

Set an icon for notification (optional)

pup.SetIcon(new Bitmap(@"C:/NotiSharp.jpg"));

Change the size of popup window (optional, default value is 500*100)

pup.SetSize(new Size(600, 400)); // not working in current version (layout problem)

Play windows alert sound (optional, default value is false)

pup.SetNotificationSound(true);

Show popup window

pup.Show();

About

Customized notification service library for Windows

License:MIT License


Languages

Language:C# 100.0%