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);
}