Handlers and commands
public class ShowOrders : UIControllerBase
{
public readonly Models.Orders Orders = new Models.Orders();
public ShowOrders()
{
From = Orders;
Handlers.Add(System.Windows.Forms.Keys.F8).Invokes += ShowOrders_Invokes;
}
private void ShowOrders_Invokes(Firefly.Box.Advanced.HandlerInvokeEventArgs e)
{
Message.ShowWarning("Pressed F8");
}
- explaining the first handler
- Using Anonymous Methods for Handlers
- Handlers and the stack
- Introducing e.Handled
- HandlerScope
- Add Handler Snippet
- BindEnabled
- Commands
- Using commands to override default behaviour
- Raise
- CustomCommand
- CustomCommand Settings
- Invoking Command
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com