SmartQuant.Charting.Chart.OnMouseDown C# (CSharp) Méthode

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void
        protected override void OnMouseDown(MouseEventArgs e)
        {
            foreach (var pad in this.fPads.Cast<Pad>().Where(pad => pad.Y1 - 1 <= e.Y && e.Y <= pad.Y1 + 1))
            {
                this.fPadSplit = true;
                this.fPadSplitIndex = this.fPads.IndexOf(pad);
                return;
            }
            foreach (var pad in this.fPads.Cast<Pad>().Where(pad => PointInPad(pad, e.Location)))
                pad.MouseDown(e);
            base.OnMouseDown(e);
        }