Method OnAccept NamespaceTerminal.Gui AssemblyTerminal.Gui.dll OnAccept() Called when the Accept command is invoked. Raises Accept event. protected bool? OnAccept() Returns bool? If true the event was canceled. If false the event was raised but not canceled. If null no event was raised.