Exemple #1
0
        private void updateSample()
        {
            renameFormat = TrackWriter.GetRenameFormat(cboRename.Text);
            dirFormat    = TrackWriter.GetDirFormat(cboSubdirectory.Text);

            if (pathIsValid(complexify(root())))
            {
                btnOK.Enabled = true;
                sampleText    = Path.Combine((root()), TrackWriter.GetPath(sampleTrack, dirFormat, renameFormat));// +sampleTrack.DefaultExtension;
            }
            else
            {
                sampleText    = invalidPath;
                btnOK.Enabled = false;
            }
            this.Invalidate();
        }