public MainWindow() { WPFService.SetDesignMode(DesignerProperties.GetIsInDesignMode(this)); WPFService.SetDialogsOwner(this); InitializeComponent(); }
private ICommand InitializeDonateCommand() { return(new DelegateCommand(() => { WPFService.ShowDialogBox <DonateView>(); })); }
private void Initialize() { CaptionFontInformation = new FontInformation("Captions", "Title bar and Caption buttons", 9); SecondarytitlebarInformation = new FontInformation("Secondary caption bar", "Small captions", 9); MenuInformation = new FontInformation("Menu bar", "Menu and Ribbons", 9); MessageBoxInformation = new FontInformation("Messagebox bar", "Messagebox and contextmenu", 9); IconInformation = new FontInformation("Icon Caption", "Icon and explorer descriptions", 9); StatusbarInformation = new FontInformation("Status bar", "For status bar", 9); BorderInformation = new IntegerInformation("Border", "Window Padding", 1); if (!WPFService.IsDesignMode()) { InitializeSystemValues(); } }