示例#1
0
    protected void OnAboutActionActivated(object sender, EventArgs e)
    {
        var dialog = new AboutDialog();

        dialog.Version  = "0.0.1";
        dialog.Title    = "Nate's Calculator";
        dialog.Website  = "https://www.GitHub.com/ndaljr/Calculator";
        dialog.Comments = "This is a basic calculator that allows for expressions to be evaluated." +
                          " You can email me at [email protected] if you notice any bugs.\n"
                          + "\nCredit goes to the author of the info.lundin.math dll. This calculator uses the parser provided by the" +
                          " aforementioned package.";
        dialog.Authors = new string[] { "Nathaniel D. Alcedo Jr" };
        dialog.ShowAll();
        dialog.Run();
        dialog.Destroy();
    }