Example #1
0
 private void SongRequestForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (connected)
     {
         songRequestButton.Enabled = true;
     }
     songRequestForm = null;
 }
Example #2
0
 private void songRequestButton_Click(object sender, EventArgs e)
 {
     songRequestButton.Enabled = false;
     if (songRequestForm == null)
     {
         songRequestForm             = new SongRequestForm();
         songRequestForm.FormClosed += SongRequestForm_FormClosed;
     }
     songRequestForm.Show();
 }
 public void setParent(SongRequestForm p)
 {
     parentForm = p;
     parentForm.VideoFinished += ParentForm_VideoFinished;
 }