Example #1
0
File: Form1.cs Project: rNdm74/C-
        private void Form1_Load(object sender, EventArgs e)
        {
            fireMonitorSubject = new FireMonitorSubject();

            InstructionsFireObserver instructionsFireObserver = new InstructionsFireObserver(fireMonitorSubject);
            AlarmBellFireObserver alarmBellFireObserver = new AlarmBellFireObserver(fireMonitorSubject);
        }
Example #2
0
File: Form1.cs Project: rNdm74/C-
        private void Form1_Load(object sender, EventArgs e)
        {
            fireMonitorSubject = new FireMonitorSubject();

            InstructionsFireObserver instructionsFireObserver = new InstructionsFireObserver(fireMonitorSubject);
            AlarmBellFireObserver    alarmBellFireObserver    = new AlarmBellFireObserver(fireMonitorSubject);
        }