Raise

Raise(Command.Exit); 
partial class ShowOrdersView : Shared.Theme.Controls.Form
{
...
    private void button2_Click(object sender, ButtonClickEventArgs e)
    {
        e.Raise(Command.Exit);
    }

    private void button3_Click(object sender, ButtonClickEventArgs e)
    {
        e.Raise(Keys.F8);
    }
... 

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com