Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 917 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 917 Bytes

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();