public EditNameDialog(MainWindow mainWindow, MusicFile musicFile)
        {
            InitializeComponent();
            this.mainWindow = mainWindow;
            currentFile     = musicFile;

            checkOverrideParent.Checked = currentFile.AlternateParentFolder != null;
            parentFolderText.Text       = currentFile.GetParent();
            parentFolderText.ReadOnly   = !checkOverrideParent.Checked;

            checkOverrideAlbum.Checked = currentFile.AlternateAlbumFolder != null;
            albumFolderText.Text       = currentFile.CreateFolderName();
            albumFolderText.ReadOnly   = !checkOverrideAlbum.Checked;
        }
 private void OnOverrideAlbumChanged(object sender, EventArgs e)
 {
     albumFolderText.ReadOnly = !checkOverrideAlbum.Checked;
     albumFolderText.Text     = currentFile.CreateFolderName();
 }