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
- Host: GitHub
- URL: https://github.com/minkidev/notisharp
- Owner: MinkiDev
- License: mit
- Created: 2018-07-03T23:38:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-08T14:07:06.000Z (about 7 years ago)
- Last Synced: 2025-03-17T09:51:19.219Z (7 months ago)
- Topics: dialogue, notification-service, winforms
- Language: C#
- Homepage:
- Size: 2.74 MB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  NotiSharp
Customized notification service library for Windows.[](https://www.nuget.org/packages/NotiSharp)
## Screenshot
## 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();
```