Пример #1
0
        public static void Init()
        {
            WindowsFormsSettings.ForceDirectXPaint();
            WindowsFormsSettings.EnableFormSkins();
            WindowsFormsSettings.DefaultLookAndFeel.SetSkinStyle(SkinSvgPalette.Bezier.DarkTurquoise);
            var fs = WindowsFormsSettings.DefaultFont.Size;

            WindowsFormsSettings.DefaultFont = new System.Drawing.Font("Segoe UI", fs);

            MVVMContext.RegisterXtraMessageBoxService();
            MVVMContext.RegisterOpenFileDialogService();
            MVVMContext.RegisterSaveFileDialogService();
        }