Example #1
0
        private void waterfall_CustomPaint(object sender, CustomPaintEventArgs e)
        {
            CustomPaintEventHandler waterfallCustomPaint = this.WaterfallCustomPaint;

            if (waterfallCustomPaint != null)
            {
                waterfallCustomPaint(sender, e);
            }
        }
Example #2
0
        private void spectrumAnalyzer_BackgroundCustomPaint(object sender, CustomPaintEventArgs e)
        {
            CustomPaintEventHandler spectrumAnalyzerBackgroundCustomPaint = this.SpectrumAnalyzerBackgroundCustomPaint;

            if (spectrumAnalyzerBackgroundCustomPaint != null)
            {
                spectrumAnalyzerBackgroundCustomPaint(sender, e);
            }
        }
Example #3
0
        protected virtual void OnCustomPaint(CustomPaintEventArgs e)
        {
            CustomPaintEventHandler customPaint = this.CustomPaint;

            if (customPaint != null)
            {
                customPaint(this, e);
                this._customTitle = e.CustomTitle;
            }
        }
Example #4
0
        protected virtual void OnCustomPaint(CustomPaintEventArgs e)
        {
            CustomPaintEventHandler customPaint = this.CustomPaint;

            customPaint?.Invoke(this, e);
        }