private void dodajToolStripMenuItem_Click(object sender, EventArgs e) { NewEventForm nef = new NewEventForm(); if (nef.ShowDialog() == System.Windows.Forms.DialogResult.OK) { h.MakeEvent(nef.risk, nef.name, nef.cases); ReviseInfo(); } }