Esempio n. 1
0
        // push

        public void push(int ViewIndex, object context, PostGoBackEventHandler PostBackEventHnd)
        {
            SessionHistoryEntry entry = new SessionHistoryEntry();

            entry.hasMultiViewRef = true;
            entry.MultiViewIndex  = ViewIndex;
            entry.PostGoBackHnd  += PostBackEventHnd;

            SessionHistoryStack.Push(entry);
        }
Esempio n. 2
0
        public void push(string Url, object Context, PostGoBackEventHandler PostGoBackEventHnd)
        {
            SessionHistoryEntry entry = new SessionHistoryEntry();

            entry.hasUrl         = true;
            entry.Url            = Url;
            entry.Context        = Context;
            entry.PostGoBackHnd += PostGoBackEventHnd;

            SessionHistoryStack.Push(entry);
        }
Esempio n. 3
0
        public void push(int ViewIndex, string Url, object Context, PostGoBackEventHandler PostBackEventHnd)
        {
            // 1. Eintrag beim Rücksprung in der angesprungenen WebForm
            //    verarbeitet werden
            SessionHistoryEntry entry1 = new SessionHistoryEntry();

            entry1.hasMultiViewRef = true;
            entry1.MultiViewIndex  = ViewIndex;
            entry1.PostGoBackHnd  += PostBackEventHnd;

            SessionHistoryStack.Push(entry1);

            // 2. Eintrag wird beim Rücksprung von der WebForm, aus der
            //    Rücksprung startet, ausgewertet
            SessionHistoryEntry entry2 = new SessionHistoryEntry();

            entry2.hasUrl = true;
            entry2.Url    = Url;

            entry2.Context = Context;

            SessionHistoryStack.Push(entry2);
        }