public PostRenderIndicatorEventArgs(Graphics graphics, GaugeIndicator indicator) { _Graphics = graphics; _Indicator = indicator; }
internal void OnPostRenderIndicator(PaintEventArgs e, GaugeIndicator indicator) { if (PostRenderIndicator != null) { PostRenderIndicatorEventArgs args = new PostRenderIndicatorEventArgs(e.Graphics, indicator); PostRenderIndicator(this, args); } }
public PreRenderIndicatorEventArgs(Graphics graphics, GaugeIndicator indicator) : base(graphics, indicator) { }
internal bool OnPreRenderIndicator(PaintEventArgs e, GaugeIndicator indicator) { if (PreRenderIndicator != null) { PreRenderIndicatorEventArgs args = new PreRenderIndicatorEventArgs(e.Graphics, indicator); PreRenderIndicator(this, args); if (args.Cancel == true) return (true); } return (false); }