コード例 #1
0
 private void Add_Click(object sender, EventArgs e)
 {
     if (cbxSchedule.SelectedIndex > -1)
     {
         _controller.AddScheduleToVideoWall(this, _videoWall);
         Close();
     }
     else
     {
         MessageBox.Show(@"No schedule selected!", @"Error",
                         MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }