public Mainform(HCSettings settings) : base(settings.FormSettings) { _settings = settings; // Default font for use _fontDialog.Font = new Font("Consolas", 14f); // in case Consolas is not present, // size should still be 14f _fontDialog.Font = new Font(_fontDialog.Font.Name, 14f); InitializeComponent(); }
public Mainform(HCSettings settings) : base(settings.FormSettings) { _settings = settings; InitializeComponent(); }