Inheritance: SettingsBase
Example #1
0
        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();
        }
Example #2
0
 public Mainform(HCSettings settings)
     : base(settings.FormSettings)
 {
     _settings = settings;
     InitializeComponent();
 }
Example #3
0
 public Mainform(HCSettings settings)
     : base(settings.FormSettings)
 {
     _settings = settings;
     InitializeComponent();
 }