Matix.Notification 0.1.12

Matix Notifications is a simple .NET class to create costum Notifications.

Install-Package Matix.Notification -Version 0.1.12
dotnet add package Matix.Notification --version 0.1.12
<PackageReference Include="Matix.Notification" Version="0.1.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Matix.Notification --version 0.1.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Matix's Notifications

Matix Notifications is a simple .NET class to create costum Notifications.

How to use

If you want to display a Notification, you first need to create a Notification.

Create a Notification:

To create a Notification, you must define a new Notification

Dim Notific As New Notification

Now let us define the Title and the content of our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Alright, now we add an Icon to our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Nice, now let us define that our Notification close after 5 Seconds. You write the Interval in Milliseconds

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

You can also let the Notification stay and close it manually (more to this later)

Okay, now we can change the Background color of our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Now you have created your first Notification with Matix's Notification applause.

Show a Notification:

To display your created Notification, you must just tap in [Your Notification].Show()
Like this:

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Notific.Show()

Close a Notification manually:

To close your Notification manally, just write [Your Notification].Close() In your code.
Like we did:

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Notific.Show()

System.Threading.Thread.Sleep(1000)

Notific.Close()

Thats it.

Licens

This class is open-source and free to use. But you must write Notifications DLL by Matix Media, Inc. In your credits.

Matix's Notifications

Matix Notifications is a simple .NET class to create costum Notifications.

How to use

If you want to display a Notification, you first need to create a Notification.

Create a Notification:

To create a Notification, you must define a new Notification

Dim Notific As New Notification

Now let us define the Title and the content of our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Alright, now we add an Icon to our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Nice, now let us define that our Notification close after 5 Seconds. You write the Interval in Milliseconds

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

You can also let the Notification stay and close it manually (more to this later)

Okay, now we can change the Background color of our Notification

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Now you have created your first Notification with Matix's Notification applause.

Show a Notification:

To display your created Notification, you must just tap in [Your Notification].Show()
Like this:

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Notific.Show()

Close a Notification manually:

To close your Notification manally, just write [Your Notification].Close() In your code.
Like we did:

Dim Notific As New Notification

Notific.Title = "My Application"
Notific.Content = "Hello World!"

Notific.Image = New Bitmap(Path.Combine(Application.StartupPath, "ico.png"))

Notific.AutoClose = True
Notific.AutoCloseInterval = 5000

Notific.BackColor = Color.DarkSeaGreen

Notific.Show()

System.Threading.Thread.Sleep(1000)

Notific.Close()

Thats it.

Licens

This class is open-source and free to use. But you must write Notifications DLL by Matix Media, Inc. In your credits.

Release Notes

Pre-Release, not finished yet. Fixed: Overlapping Text

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.12 96 6/9/2019
0.1.5 78 6/9/2019