public void Release(ScreenCanvas canvas, Point location)
        {
            var args = new TestLocationSelectedEventArgs() {
                Screen = canvas.Screen.Name,
                X = location.X,
                Y = location.Y
            };

            ViewModelMediator.Current.GetEvent<TestLocationSelectedEventArgs>().Raise(this, args);
        }
        private void TestLocationSelected(object sender, TestLocationSelectedEventArgs args)
        {
            if (_openProject != null && ProjectViewModel.CurrentStage != null)
            {
                var projectPath = Path.Combine(_openProject.Project.BaseDir, "game.xml");
                var stage = ProjectViewModel.CurrentStage.LinkName;

                RunTest(string.Format("\"{0}\" \"STAGE\\{1}\" \"{2}\" \"{3},{4}\"", projectPath, stage, args.Screen, args.X, args.Y));
            }
        }