private void OnDeleteScreen(string screenName) { Nui.SendMessage(Events.DeleteScreen, screenName); var eventArgs = new ScreenDeletedEventArgs() { ScreenName = screenName }; this.OnScreenDeleted(eventArgs); }
private void OnScreenDeleted(ScreenDeletedEventArgs e) { var handler = this.ScreenDeleted; handler?.Invoke(this, e); }