private void EditEvent_Click(object sender, EventArgs e) { if (eventIndex >= 0) { DialogEvents dialog = new DialogEvents(E); dialog.Show(); } }
// ---------------------------------------- // Add, Edit, Refresh Buttons #region Add Buttons private void AddEvent_Click(object sender, EventArgs e) { DialogEvents dialog = new DialogEvents(userID); dialog.Show(); }