private void Control_Click(object sender, EventArgs e)
        {
            Console.WriteLine("Invoking single click command");
            var command = SingleClickEffect.GetCommand(Element);

            command?.Execute(SingleClickEffect.GetCommandParameter(Element));
        }
Beispiel #2
0
        /// <summary>
        /// Invoke the command if there is one
        /// </summary>
        private void HandleSingleClick()
        {
            var command = SingleClickEffect.GetCommand(Element);

            command?.Execute(SingleClickEffect.GetCommandParameter(Element));
        }