Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Irval1337 authored Dec 20, 2020
1 parent a4a3fc1 commit 9d1274f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
## NotificationManager
[![NuGet version (BlackBeltCoder.Silk)](https://img.shields.io/nuget/v/NotificationManager.svg?style=flat-square)](https://www.nuget.org/packages/NotificationManager/1.0.3)
[![NuGet version (NotificationManager)](https://img.shields.io/nuget/v/NotificationManager.svg?style=flat-square)](https://www.nuget.org/packages/NotificationManager/)
[![NuGet downloads (NotificationManager)](https://img.shields.io/nuget/dt/NotificationManager)](https://www.nuget.org/packages/NotificationManager/)
[![GitHub last commit](https://img.shields.io/github/last-commit/Irval1337/NotificationManager)](https://github.com/Irval1337/NotificationManager/commits/main)

### Установка библиотеки
**Package Manager**
``` powershell
PM> Install-Package NotificationManager
```

### Использование в проекте
- Инициализируйте класс `Notify`
- Изменяйте максимальное количество уведомлений путем изменения значения `Notify.MaxCount` (изначально 9)
- Отправляйте уведомления на экран, путем вызова метода `Notify.Alert` (Пример реализации: `Notify.Alert("Success", NotificationForm.enmType.Success, new Font("Century Gothic", 12));`)
<br> Возможный значения параметра `type`: `NotificationForm.enmType.Success`, `NotificationForm.enmType.Error`, `NotificationForm.enmType.Warning`, `NotificationForm.enmType.Info` </br>
- Есть возможность закрыть все текущие уведомления. Используйте метод `Notify.CloseAll` с отсутствием аргументов

Примеры использования библиотеки: https://github.com/Irval1337/NotificationManager/tree/main/Examples

0 comments on commit 9d1274f

Please sign in to comment.