FlowUIController

FlowUIController is a controller where the tab order is managed by the Columns collection and not by the controls on the form.

It also allows you to inject logic that will be executed when you move between these controls.

Code

Add the using, change the base class and add the columns

using Firefly.Box.Flow;
namespace Northwind.Exercise
{
     public class ShowOrderDemoFlowUIController : FlowUIControllerBase
    {

        public readonly Models.Orders Orders = new Models.Orders();
        public ShowOrderDemoFlowUIController()
        {
            From = Orders;
            Columns.Add(Orders.OrderID);
            Columns.Add(Orders.CustomerID);
            Columns.Add(Orders.EmployeeID);
            Columns.Add(Orders.OrderDate);
            Columns.Add(Orders.RequiredDate);
        }
   }
} 

In non FlowUIController controllers the tab order is controlled by the tab order see Controlling the Tab Order


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