private void GrblPanel_DoubleClick(object sender, EventArgs e) { PointF mousePos = PointToClient(MousePosition); PointF wpos = TranslateWorldPoint(mousePos); if (Core != null) { Core.EnqueueCommand(new GrblCommand($"G0 X{wpos.X} Y{wpos.Y}")); } }
void TxtManualCommandCommandEntered(string command) { Core.EnqueueCommand(new GrblCommand(command)); }