Esempio n. 1
0
        void t_TransitionCompletedEvent(object sender, Transition.Args e)
        {
            PtOrderList pol = ((OrdersView)owningView).getPtOrderList();

            pol.RemoveFromList(order, SessionManager.Instance.securityContext);

            t.TransitionCompletedEvent -= new EventHandler <Transition.Args>(t_TransitionCompletedEvent);
        }
Esempio n. 2
0
        private void getNewOrderList()
        {
            loadingCircle1.Enabled = true;
            loadingCircle1.Visible = true;
            loadingCircle1.Active  = true;

            if (orders != null)
            {
                orders.ReleaseListeners(this);
            }

            orders = new PtOrderList();

            orders.userLogin = SessionManager.Instance.ActiveUser.userLogin;
            orders.groupName = SessionManager.Instance.UserGroup;
            orders.orderDate = null; //get all existing orders

            orders.AddHandlersWithLoad(OrdersListChanged,
                                       OrdersListLoaded,
                                       OrderChanged);
        }