Пример #1
0
 /**
 // \fn public AdminView(int idWebradio, AdminController controller)
 //
 // \brief Constructor.
 //
 // \author Simon Menetrey
 // \date 23.05.2014
 //
 // \param idWebradio The webradio's identifier.
 // \param controller The controller.
 **/
 public AdminView(int idWebradio, AdminController controller)
 {
     InitializeComponent();
     this.Controller = controller;
     this.IdWebradio = idWebradio;
     this.EventsCalendar = new List<EventAppointment>();
     this.UpdateAudioDevices();
 }
 /**
 // \fn public void OpenWebradio(int id)
 //
 // \brief Opens a webradio described by id in an AdminView.
 //
 // \author Simon Menetrey
 // \date 26.05.2014
 //
 // \param id The identifier.
 **/
 public void OpenWebradio(int id)
 {
     AdminController admincontroller = new AdminController(id, this.Model);
     this.Model.AddObserver(admincontroller);
 }