Beispiel #1
0
        private void cmdOk_Click(object sender, EventArgs e)
        {
            noteCount = 0;

            pbProgreso.Minimum = 0;
            pbProgreso.Value   = 0;

            cmdOk.Enabled     = false;
            cmdCancel.Enabled = false;

            pbProgreso.Maximum = getNoteCount();

            string       filePath = txtFilePath.Text;
            WorkerThread t        = new WorkerThread()
            {
                FileName   = filePath,
                NumRepeats = ApplicationState.Instance.CurrentSong.Looped ? (int)numRepeats.Value : 1,
                Parent     = this
            };

            t.Export();
        }