Handles Label1.MouseDown, Label2.MouseDown, Label3.MouseDown
Handles Label1.MouseUp, Label2.MouseUp, Label3.MouseUp
Handles Label1.MouseMove, Label2.MouseMove, Label3.MouseMove
Private Sub LabelMouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) _ Handles Label1.MouseDown, Label2.MouseDown, Label3.MouseDown, Label4.MouseDown,Label5.MouseDown, _ Label6.MouseDown, Label7.MouseDown, Label8.MouseDown, Label9.MouseDown, Label10.MouseDown
' 対象のラベル Dim lbl As Label = DirectCast(sender, Label)
Dim lbl As Label = DirectCast(sender, Label) ' 省略 Dim labelPoint As Point = Me.dictMovedPoints(lbl)