Inheritance: Eto.Platform
コード例 #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);
        }
コード例 #2
0
 private static void RegisterUIHandlers(Eto.GtkSharp.Platform platform)
 {
     platform.Add <SyntaxHightlightTextArea.ISyntaxHightlightTextArea>(() => new SyntaxHightlightTextAreaHandler());
 }