Exemplo n.º 1
0
 private void closeByAlbumWindowCloseAlbums_Click(object sender, EventArgs e)
 {
     //if (Program.openChildren.Length > 0 && Program.openAlbums.Count > 0)
     if (Program.openAlbums.Count > 0)
     {
         frmCloseBy closeByArtist = new frmCloseBy("CloseByAlbum");
         closeByArtist._frmMain  = this;
         closeByArtist.MdiParent = this;
         closeByArtist.Show();
     }
 }
Exemplo n.º 2
0
        private void closeByArtistWindowCloseAlbums_Click(object sender, EventArgs e)
        {
            //foreach(frmChild closing in Program.openAlbums)
            //{
            //    string tempArtist;
            //    tempArtist = closing.Text.Split('-')[0];
            //    //if ()
            //    //{

            //    //}
            //}
            //foreach (string artist in Program.openArtists)
            //{

            //}
            //if (Program.openChildren.Length > 0 && Program.openArtists.Count > 0)
            if (Program.openArtists.Count > 0)
            {
                frmCloseBy closeByArtist = new frmCloseBy("CloseByArtist");
                closeByArtist._frmMain  = this;
                closeByArtist.MdiParent = this;
                closeByArtist.Show();
            }
        }