private void newToolStripMenuItem_Click(object sender, EventArgs e) { NewPlaylist np = new NewPlaylist(this, dataset, xWMP); np.ShowDialog(); if (newPlaylistCreated) { //dorobit myslienku ToolStripMenuItem tsmi = CreateOpenMenuItem(CurrentPlayList); openToolStripMenuItem.DropDownItems.Add(tsmi); listView1.Items.Clear(); newPlaylistCreated = false; } }