private void VideoEdit1_OnStop(object sender, VideoEditStopEventArgs e) { Invoke((Action)(() => { ProgressBar1.Value = 0; })); if (e.Successful) { MessageBox.Show(this, "Completed successfully", string.Empty, MessageBoxButtons.OK); } else { MessageBox.Show(this, "Stopped with error", string.Empty, MessageBoxButtons.OK); } }
private void VideoEdit1_OnStop(object sender, VideoEditStopEventArgs e) { ProgressBar1.Value = 0; if (e.Successful) { MessageBox.Show("Completed successfully", string.Empty, MessageBoxButtons.OK); } else { MessageBox.Show("Stopped with error", string.Empty, MessageBoxButtons.OK); } lbFiles.Items.Clear(); VideoEdit1.Input_Clear_List(); VideoEdit1.Video_Transition_Clear(); }