示例#1
0
        /// <summary>
        /// Event: Triggered when the - button is clicked
        /// </summary>
        private void itsButtonMinus_Click(object sender, EventArgs e)
        {
            PipeMessageNumberGameAdd aMessageSubtract1 = new PipeMessageNumberGameAdd(-1);

            PipeSender.SendPipeMessage(aMessageSubtract1);
        }
示例#2
0
        /// <summary>
        /// Event: Triggered when the + button is clicked
        /// </summary>
        private void itsButtonPlus_Click(object sender, EventArgs e)
        {
            PipeMessageNumberGameAdd aMessageAdd1 = new PipeMessageNumberGameAdd(1);

            PipeSender.SendPipeMessage(aMessageAdd1);
        }