/// <summary> /// Commands the specified command struct. /// </summary> /// <param name="CommandStruct">The command struct.</param> /// <returns>Returns result of event operation.</returns> public override object OnCommand(ref REXCommand CommandStruct) { object result = null; if (ExtensionRef != null) { result = ExtensionRef.OnCommand(ref CommandStruct); } // insert code here. if (result == null) { return(base.OnCommand(ref CommandStruct)); } else { return(result); } }