Beispiel #1
0
        private void buttonSavePath_Click(object sender, RoutedEventArgs e)
        {
            DialogBoxes dialogBox = new DialogBoxes();

            dialogBox.saveFile();
            if (dialogBox.Result == true)
            {
                this.savePathName         = dialogBox.FileName;
                buttonSavePath.Content    = savePathName;
                buttonMakeVideo.IsEnabled = true;
            }
        }
Beispiel #2
0
        //-----------------------------------------------------------------
        //Buttons
        private void buttonLoadVideo_Click(object sender, RoutedEventArgs e)
        {
            DialogBoxes dialogBox = new DialogBoxes();

            dialogBox.loadFile();

            if (dialogBox.Result == true)
            {
                if (bw.IsBusy != true)
                {
                    loadPathName = dialogBox.FileName;
                    workToDo     = Work.LoadFrames;
                    bw.RunWorkerAsync();
                }
            }
        }