public BiosignalVisualizationWindow(BiosignalStreamer streamer, long channelNum, long windowLength)
        {
            // ReSharper disable once LocalizableElement
            Text = "Biosignal Visualization";
            Icon = System.Drawing.Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);

            SuspendLayout();
            ControlBox     = true;
            IsFullscreen   = false;
            DoubleBuffered = false;
            ResumeLayout(true);

            Load    += Window_OnLoaded;
            Closing += Window_OnClosing;
            KeyUp   += Window_OnKeyUp;

            _streamer = streamer;
            streamer.Attach(this);

            _channelNum   = channelNum;
            _windowLength = windowLength;
        }