An open API service indexing awesome lists of open source software.

https://github.com/minkidev/notisharp

Customized notification service library for Windows
https://github.com/minkidev/notisharp

dialogue notification-service winforms

Last synced: 7 months ago
JSON representation

Customized notification service library for Windows

Awesome Lists containing this project

README

          

# ![Logo](res/NotiSharp_Logo.png) NotiSharp
Customized notification service library for Windows.

[![NuGet version (NotiSharp)](https://img.shields.io/nuget/v/NotiSharp.svg)](https://www.nuget.org/packages/NotiSharp)

## Screenshot
![](Screenshot.png)

## Usage examples

#### Create a popup form instance
```csharp
NotiSharp.Popup pup = new NotiSharp.Popup();
```

#### Set content text for notification
```csharp
pup.SetText("This is an example content for NotiSharp");
```

#### Set an icon for notification (optional)
```csharp
pup.SetIcon(new Bitmap(@"C:/NotiSharp.jpg"));
```

#### Change the size of popup window (optional, default value is 500*100)
```csharp
pup.SetSize(new Size(600, 400)); // not working in current version (layout problem)
```

#### Play windows alert sound (optional, default value is false)
```csharp
pup.SetNotificationSound(true);
```

#### Show popup window
```csharp
pup.Show();
```