diff --git a/src/Winium.Cruciatus/Core/MouseSimulatorExt.cs b/src/Winium.Cruciatus/Core/MouseSimulatorExt.cs index f70fcbc..55e0953 100644 --- a/src/Winium.Cruciatus/Core/MouseSimulatorExt.cs +++ b/src/Winium.Cruciatus/Core/MouseSimulatorExt.cs @@ -204,7 +204,23 @@ public void VerticalScroll(int amountOfClicks) this.mouseSimulator.VerticalScroll(amountOfClicks); Thread.Sleep(250); } + /// + /// Implementing mouseDown event at current mouse location for drag and drop + /// + public void MouseDown() + { + this.mouseSimulator.LeftButtonDown(); + Thread.Sleep(250); + } + /// + /// Implementing mouseUp event at current mouse location for drag and drop + /// + public void MouseUp() + { + this.mouseSimulator.LeftButtonUp(); + Thread.Sleep(250); + } #endregion } }