public void SetSession(GuiApplication application, GuiConnection connection, GuiSession session) { this._sapGuiApplication = application; this._sapGuiConnection = connection; this._sapGuiSession = session; _currentScreen = new ScreenData(session.Info.SystemName, session.Info.Transaction, session.Info.Program, session.Info.ScreenNumber, session.ActiveWindow.Text); hookSessionEvent(); }
void newScreen(Tuple <string, string, string, int, string> sessionInfo) { _currentScreen = new ScreenData(sessionInfo.Item1, sessionInfo.Item2, sessionInfo.Item3, sessionInfo.Item4, sessionInfo.Item5); }