Example #1
0
        //raises the event in the subject then resets values when done
        private void buttonStart_Click_1(object sender, EventArgs e)
        {
            progressSubject.SlowMethod();

            //waits then resets values
            System.Threading.Thread.Sleep(500);
            ResetValues();
        }