CisonBoxView 1.0.2

Install-Package CisonBoxView -Version 1.0.2
dotnet add package CisonBoxView --version 1.0.2
<PackageReference Include="CisonBoxView" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CisonBoxView --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CisonBoxView, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CisonBoxView as a Cake Addin
#addin nuget:?package=CisonBoxView&version=1.0.2

// Install CisonBoxView as a Cake Tool
#tool nuget:?package=CisonBoxView&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

//desenvolvido por Carlos Antonio

//site: https://carlosantoniocison.editorx.io/portifolio

  using System;
  using Cison.BoxView;
  using System.Windows.Forms;

  namespace WindowsFormsSample {
      public partial class Form1 : Form {
          public Form1() {
              InitializeComponent();
              LoadEvents();
          }

    private void LoadEvents() {
        this.buttonDefaultLightErro.Click += DefaultLightErro_Click;
        this.buttonDefaultLightSuccess.Click += DefaultLightSuccess_Click;
        this.buttonCustomDark.Click += CustomMessageDark_Click;
        this.buttonCustomLight.Click += CustomMessageLight_Click;
    }
    private void DefaultLightErro_Click(object sender, EventArgs e) {
        BoxViewFactory.Show(IconBox.Erro);
    }
    private void DefaultLightSuccess_Click(object sender, EventArgs e) {
        BoxViewFactory.Show(IconBox.Success);
    }
    private void CustomMessageDark_Click(object sender, EventArgs e) {
        BoxViewFactory.Show(IconBox.Success, "Message ths success...", ThemeBox.Dark, BoxViewBorderStyle.None);
    }
    private void CustomMessageLight_Click(object sender, EventArgs e) {
        BoxViewFactory.Show(IconBox.Erro, "Message ths error...", ThemeBox.Light, BoxViewBorderStyle.Single);
    }
}

}

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 70 8/16/2021
1.0.1 81 8/15/2021
1.0.0 85 8/15/2021