Example #1
0
        private void stopButton_Click(object sender, EventArgs e)
        {
            StartStopEventArgs args = new StartStopEventArgs();

            args.start           = false;
            args.startStopButton = sender as Button;
            startStopEvent(sender, args);
        }
Example #2
0
 private void stopButton_Click(object sender, EventArgs e)
 {
     StartStopEventArgs args = new StartStopEventArgs();
     args.start = false;
     args.startStopButton = sender as Button;
     startStopEvent(sender, args);
 }