Having the same screen open mutliple times

Create the AsyncHelper class

public class ShowOrdersAsync:AsyncHelperBase
{
    public void Run(Text forCustomer = null)
    {
        RunAsync<ShowOrders>(c => c.Run(forCustomer));
    }
} 

Call in new thread

-new ShowOrders().Run(_controller.Customers.CustomerID);
new ShowOrdersAsync().Run(_controller.Customers.CustomerID); 

Make sure you read

Context class in the context of multi threading etc... Understanding UI and Treads Pitfalls


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