private void btnAdd_Click(object sender, System.EventArgs e) { var addForm = new AddEvent(repository); addForm.ShowDialog(); Reload(); }
// Contact Manegement End // Event Management Start private void cpb_addevent_Click(object sender, EventArgs e) { AddEvent addEvent = new AddEvent(); addEvent.FormClosing += new FormClosingEventHandler(this.AddEvent_FormClosing); addEvent.ShowDialog(); }
private void cpb_cont_addevent_Click(object sender, EventArgs e) { this.pnl_eventloader.BringToFront(); pnl_events.BringToFront(); AddEvent addEvent = new AddEvent(); addEvent.FormClosing += new FormClosingEventHandler(this.AddEvent_FormClosing); addEvent.ShowDialog(); }
public void showAddEvent(DataRow dr) { AddEvent aE = new AddEvent(iSubjectEventScheduler, dr); aE.ShowDialog(); }
public void showAddEvent() { AddEvent aE = new AddEvent(iSubjectEventScheduler); aE.ShowDialog(); }