Пример #1
0
 void setEventWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     listBeats[nMouseClickedIndex].Event = setEventWindow.EventName;
     setEventWindow = null;
 }
Пример #2
0
 private void EditEventButton_Click(object sender, EventArgs e)
 {
     if (setEventWindow == null)
     {
         setEventWindow = new SetEvent();
         setEventWindow.FormClosed += new FormClosedEventHandler(setEventWindow_FormClosed);
         setEventWindow.EventName = listBeats[nMouseClickedIndex].Event;
         setEventWindow.ShowDialog();
     }
 }