public void onResetPlugin() { if (InvokeRequired) { BeginInvoke(new onResetPluginDelegate(onResetPlugin), new object[] { }); return; } // if (InvokeRequired) TB_DstPortLower.Text = String.Empty; TB_DstPortUpper.Text = String.Empty; TB_SrcPortLower.Text = String.Empty; TB_SrcPortUpper.Text = String.Empty; CB_DstIP.Text = String.Empty; CB_SrcIP.Text = String.Empty; cTask.emptyRuleList(); setGUIActive(); PluginParameters.HostApplication.PluginSetStatus(this, "grey"); }