public static void Main(string[] args) { var app = new Startup(Platforms.Wpf); var dialogService = new EtoDialogService(); SimpleIoc.Default.Register<IDialogService>(() => dialogService); var mainForm = new MainForm(); dialogService.Owner = mainForm; app.Run(mainForm); }
// This is the main entry point of the application. static void Main (string[] args) { var app = new Startup(Platforms.Ios); var mainForm = new MainForm(); app.Run(mainForm); }