private void newtask_Click(object sender, EventArgs e) { NewEvent n = new NewEvent(new Event(DateTime.Today)); n.Show(); }
private void New_Click(object sender, EventArgs e) { NewEvent n = new NewEvent(new Event(monthCalendar1.SelectionRange.Start)); n.Show(); }
private void Edit_Click(object sender, EventArgs e) { NewEvent n = new NewEvent((Event)Items.SelectedItem); n.Show(); }