public void onResetPlugin() { if (InvokeRequired) { BeginInvoke(new onResetPluginDelegate(onResetPlugin), new object[] { }); return; } // if (InvokeRequired) cTask.emptyRecordList(); setGUIActive(); cPluginParams.HostApplication.PluginSetStatus(this, "grey"); }