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