static void Main(string[] args) { Settings.Init(Platform.Linux, ToolkitType.Gtk, new[] { ToolkitType.Gtk }); Application.Initialize(ToolkitType.Gtk); var window = new MainWindowBase(args); window.Show(); Application.Run(); }
static void Main(string[] args) { Settings.Init(Platform.Windows, ToolkitType.Wpf, new[] { ToolkitType.Gtk, ToolkitType.Wpf }); Application.Initialize(Settings.GetToolkit()); var window = new MainWindowBase(args); window.Show(); Application.Run(); }