public static void Initialize() { if (Platform.Instance == null) { var platform = new Eto.Wpf.Platform(); // uncomment to use app domains platform.LoadAssembly(typeof(EtoInitializer).Assembly); new Application(platform).Attach(); Eto.Designer.Builders.BaseCompiledInterfaceBuilder.InitializeAssembly = typeof(EtoInitializer).Assembly.FullName; } }
public static void Initialize() { if (Platform.Instance == null) { var platform = new Eto.Wpf.Platform(); // uncomment to use app domains platform.LoadAssembly(typeof(PlatformInitializer).Assembly); new Application(platform).Attach(); Eto.Designer.Builders.BaseCompiledInterfaceBuilder.InitializeAssembly = typeof(EtoInitializer).Assembly.FullName; } }
public static void Initialize() { if (Platform.Instance == null) { Style.Add <FormHandler>("themed", h => ThemeWindow(h.Control)); Style.Add <DialogHandler>("themed", h => ThemeWindow(h.Control)); var platform = new Eto.Wpf.Platform(); // uncomment to use app domains platform.LoadAssembly(typeof(EtoInitializer).Assembly); new Application(platform).Attach(); Eto.Designer.Builders.BaseCompiledInterfaceBuilder.InitializeAssembly = typeof(EtoInitializer).Assembly.FullName; } }