private void usuñZadanieToolStripMenuItem_Click(object sender, EventArgs e) { listView.Items.Clear(); scheduler.Clear(); labelOpis.Text = ""; if (configuration != null) { configuration.Dispose(); configuration = null; listView.Items.Remove(listItem); listItem = null; } }