///<summary></summary> protected void OnButtonClicked(int myButton, SigButDef myDef, Signal mySignal) { ODLightSignalGridClickEventArgs bArgs = new ODLightSignalGridClickEventArgs(myButton, myDef, mySignal); if (ButtonClick != null) { ButtonClick(this, bArgs); } }
///<summary></summary> protected void OnButtonClicked(int myButton,SigButDef myDef,Signalod mySignal) { ODLightSignalGridClickEventArgs bArgs=new ODLightSignalGridClickEventArgs(myButton,myDef,mySignal); if(ButtonClick!=null) ButtonClick(this,bArgs); }