private void btnStop_Click(object sender, EventArgs e) { Button b = (Button)sender; b.Visible = false; btnStartScript.Visible = true; StopScript?.Invoke(this, new EventArgs()); }
public void TriggerStopScript(uint localID, UUID itemID) { handlerStopScript = OnStopScript; if (handlerStopScript != null) { handlerStopScript(localID, itemID); } }
public void TriggerStopScript(uint localID, UUID itemID) { handlerStopScript = OnStopScript; if (handlerStopScript != null) { handlerStopScript(localID, itemID); } }