public static bool IsScreen(DisplaySession DisplaySession) { StrseuScreen.EditScreen dms = new StrseuScreen.EditScreen(DisplaySession.GetPresentationSpace()); if (dms.IsScreen() == true) { return(true); } else { return(false); } }
public static void F3_Exit(EhllapiSettings Settings) { using (DisplaySession sess = new DisplaySession()) { sess.Connect(Settings.SessId); StrseuScreen.EditScreen dms = new StrseuScreen.EditScreen(sess.GetPresentationSpace()); if (dms.IsScreen() == false) { throw new ApplicationException("not at STRSEU Edit screen."); } dms.F3_Exit(sess); } }