常用方法
常用方法
常用方法
常用方法
private void BoardControl_MouseUp(object sender, MouseEventArgs e) { _mousePressed = false; if (_mousePressedDrawable == null) { return; } _mousePressedDrawable.SetMousePressed(false, e.X, e.Y); Refresh(); if (_mousePressedDrawable == _mouseOverWhilePressedDrawable) { _mousePressedDrawable.MouseClick(e.X, e.Y); } _mousePressedDrawable = null; }