コード例 #1
0
ファイル: Overview.cs プロジェクト: artur-denk/Terminkalender
        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        internal Overview()
        {
            appointmentManager     = new AppointmentManager();
            appointmentViewCreate  = new AppointmentViewCreate(appointmentManager);
            appointmentViewDisplay = new AppointmentViewDisplay(appointmentManager);
            appointmentViewDelete  = new AppointmentViewDelete(appointmentManager, appointmentViewDisplay);
            appointmentViewStorage = new AppointmentViewStorage(appointmentManager);

            MainMenu();
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 /// <param name="appointmentManager">Manages all schedule-related tasks.</param>\
 /// <param name="appointmentViewDisplay">Manages displaying the appointments.</param>
 internal AppointmentViewDelete(AppointmentManager appointmentManager, AppointmentViewDisplay appointmentViewDisplay)
 {
     this.appointmentManager     = appointmentManager;
     this.appointmentViewDisplay = appointmentViewDisplay;
 }