I normally use the most recent released version and use Net.4 versions just for testing but I just loaded my plugin in 1.2106 and UCCNC stop responding on loading a file. After some debugging I determined the cause was the while(UC.Isloading()); and once removed plugin worked fine. I'm almost certain I tested this in a net 4 version but with 1.2105 and 1.2106 it stopped responding and catch ignored. In 1.2049 no trouble with the while isloading function.
I can't imagine it being a problem with my code...lol but here it is to check.
- Code: Select all
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{ percent.Text = "Aborted"; MessageBox.Show(this, "Conversion Aborted","Unit Converter Message"); }
else
{
MessageBox.Show(this, "Conversion Complete", "Unit Converter Message");
try
{
UC.Loadfile(WizPath +Filename + ".tap");
//while(UC.IsLoading()){}
}
catch (Exception) { MessageBox.Show("Exception"); }
}
percent.Text = "";
progressBar1.Value = 0;
}