Beispiel #1
0
        public static void Show(Point location)
        {
            var pointForm = new PointForm {
                Location = location
            };

            pointForm.ShowDialog();
        }
Beispiel #2
0
        protected override void InternalExecute(ICommandAdapter adapter)
        {
            PointForm.Show(this.ParameterValue <Point>());
            var mouseCommand = new MouseCommand();

            mouseCommand.Parameters.MainParameter = new MainParameter(ClickMethodName());
            mouseCommand.Parameters.Add(new Parameter("MoveMouseTo", Parameters.MainParameter.Value, true, EndPosition));
            mouseCommand.Execute(adapter);
        }