Inheritance: Eto.Platform
Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            var platform = new Eto.GtkSharp.Platform();

            RegisterUIHandlers(platform);

            ConfigureStyles();

            var app = new MainApplication(platform);

            RegisterServices();

            app.Run(args);
        }
Exemplo n.º 2
0
 private static void RegisterUIHandlers(Eto.GtkSharp.Platform platform)
 {
     platform.Add <SyntaxHightlightTextArea.ISyntaxHightlightTextArea>(() => new SyntaxHightlightTextAreaHandler());
 }