它有什麼問題?鼠標向下移動
private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
{
position_x = e.Location.X;
position_y = e.Location.Y;
}
private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
int position_x_next = e.Location.X;
int position_y_next = e.Location.Y;
if (position_x_next < position_x)
{
MessageBox.Show("it moved left");
}
}