Example #1
0
        public HeartRateForm()
        {
            _settings.Load();
            _settings.Save();
            _service         = new HeartRateService();
            _iconBitmap      = new Bitmap(_iconWidth, _iconHeight);
            _iconGraphics    = Graphics.FromImage(_iconBitmap);
            _measurementFont = new Font(
                _settings.FontName, _iconWidth,
                GraphicsUnit.Pixel);

            InitializeComponent();
        }
Example #2
0
        public HeartRateForm()
        {
            _service = new HeartRateService();

            InitializeComponent();
        }