示例#1
0
 static void Main()
 {
     UserInputMonitor inputMonitor = new UserInputMonitor();
      MessageDisplayer inputProcessor = new MessageDisplayer(inputMonitor);
      ManagersStaffMonitor mortimer = new ManagersStaffMonitor(inputMonitor);
      inputMonitor.Run();
 }
示例#2
0
        static void Main()
        {
            UserInputMonitor     inputMonitor   = new UserInputMonitor();
            MessageDisplayer     inputProcessor = new MessageDisplayer(inputMonitor);
            ManagersStaffMonitor mortimer       = new ManagersStaffMonitor(inputMonitor);

            inputMonitor.Run();
        }
示例#3
0
 public MessageDisplayer(UserInputMonitor monitor)
 {
     monitor.OnUserRequest +=
         new UserInputMonitor.UserRequest(UserRequestHandler);
 }
示例#4
0
 public ManagersStaffMonitor(UserInputMonitor monitor)
 {
     monitor.OnUserRequest +=
         new UserInputMonitor.UserRequest(UserRequestHandler);
 }
示例#5
0
 public MessageDisplayer(UserInputMonitor monitor)
 {
     monitor.OnUserRequest +=
     new UserInputMonitor.UserRequest(UserRequestHandler);
 }
示例#6
0
 public ManagersStaffMonitor(UserInputMonitor monitor)
 {
     monitor.OnUserRequest +=
     new UserInputMonitor.UserRequest(UserRequestHandler);
 }