SchemaFactor.Vst.MidiMapperX.MainWindow.AboutButton_Click C# (CSharp) Method

AboutButton_Click() private method

private AboutButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void AboutButton_Click(object sender, EventArgs e)
        {
            if (_plugin == null) return;

            AboutButton.ForeColor = Color.White;

            AboutForm about = new AboutForm(_plugin.ProductInfo.Vendor + "\n\n" +
                                            _plugin.ProductInfo.Product + "   " +
                              "Version: " + _plugin.ProductInfo.FormattedVersion + "");

            about.ShowDialog(this);

            AboutButton.ForeColor = Color.Black;
        }