Ejemplo n.º 1
0
 void transition_TransitionCompletedEvent(object sender, Transition.Args e)
 {
     if (TransitionCompleted != null)
     {
         TransitionCompleted(this, e);
     }
 }
Ejemplo n.º 2
0
        private void T_TransitionCompletedEvent(object sender, Transition.Args e)
        {
            var t = new Transition(new EaseInEaseOutTransition(175));

            t.add(panel_details, "Width", 0);
            t.run();
        }
 private void ShowTransitionCompletedEvent(object sender, Transition.Args e)
 {
     if (SlideOutComplete != null)
     {
         SlideOutComplete(this, EventArgs.Empty);
     }
 }
Ejemplo n.º 4
0
        private void onTransitionCompleted(object sender, Transition.Args e)
        {
            Transition key = (Transition)sender;

            key.TransitionCompletedEvent -= new EventHandler <Transition.Args>(this.onTransitionCompleted);
            lock (this.m_Lock)
                this.m_Transitions.Remove(key);
        }
Ejemplo n.º 5
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);
        }
Ejemplo n.º 6
0
        void t_TransitionCompletedEvent(object sender, Transition.Args e)
        {
            if (RefreshAutoCompleteAction != null)
            {
                RefreshAutoCompleteAction(true);
            }

            //new UclCaptureImage().CloseCamera();
            Close();
        }
Ejemplo n.º 7
0
        private void onTransitionCompleted(object sender, Transition.Args e)
        {
            var key = (Transition)sender;

            key.TransitionCompletedEvent -= onTransitionCompleted;
            lock (m_Lock)
            {
                m_Transitions.Remove(key);
            }
        }
Ejemplo n.º 8
0
        /// <summary>
        /// Called when the transition we have just run has completed.
        /// </summary>
        private void onTransitionCompleted(object sender, Transition.Args e)
        {
            // We unregister from the completed event...
            Transition transition = (Transition)sender;

            transition.TransitionCompletedEvent -= onTransitionCompleted;

            // We remove the completed transition from our collection, and
            // run the next one...
            m_listTransitions.RemoveFirst();
            runNextTransition();
        }
Ejemplo n.º 9
0
        /// <summary>
        /// Called when a transition has completed.
        /// </summary>
        private void onTransitionCompleted(object sender, Transition.Args e)
        {
            // We stop observing the transition...
            Transition transition = (Transition)sender;

            transition.TransitionCompletedEvent -= onTransitionCompleted;

            // We remove the transition from the collection we're managing...
            lock (m_Lock) {
                m_Transitions.Remove(transition);
            }
        }
Ejemplo n.º 10
0
            private void OnTransitionCompletedEvent(object sender, Transition.Args args)
            {
                if (string.IsNullOrEmpty(Text))
                {
                    return;
                }
                var t = new Transition(new TransitionType_Linear(500));

                t.add(this, "ForeColor", YamuiThemeManager.Current.LabelNormalFore);
                t.run();
                LinearBlink = 0;
                var t2 = new Transition(new TransitionType_Linear(2000));

                t2.add(this, "LinearBlink", 401);
                t2.run();
            }
Ejemplo n.º 11
0
        void tran_TransitionCompletedEvent(object sender, Transition.Args e)
        {
            label.Text = textList.Count == 0 ? "" : textList[CurrentTextIndex++];

            label.Left = base.Size.Width;
            label.Top  = (base.Height - label.Height) / 2;

            //label.Font = font;

            int time = (MAX_SLIDER_VALUE - speed + (MIN_SLIDER_VALUE == 0 ? 1 : 0)) * CalculateTransitionTime(BASE_TIME_TRANSITION, label.Width + base.Width);

            tran = new Transition(new TransitionType_Linear(time));

            tran.add(label, "Left", -label.Size.Width);

            tran.TransitionCompletedEvent += tran_TransitionCompletedEvent;

            tran.run();
        }
 void transitions1_TransitionCompletedEvent(object sender, Transition.Args e)
 {
     OldPanel.Location     = (new Point(-PanelSize.Width, 0));
     isTransitionsComplete = true;
 }
 private void HideTransitionCompletedEvent(object sender, Transition.Args e)
 {
     this.Visible = false;
 }
Ejemplo n.º 14
0
 private void t_TransitionCompletedEvent(object sender, Transition.Args e)
 {
     DebuggerPanel.Visible = true;
     MessagePanelz.Visible = true;
 }
Ejemplo n.º 15
0
 private void onTransitionCompleted(object sender, Transition.Args e)
 {
     ((Transition)sender).TransitionCompletedEvent -= new EventHandler <Transition.Args>(this.onTransitionCompleted);
     this.m_listTransitions.RemoveFirst();
     this.runNextTransition();
 }
Ejemplo n.º 16
0
 private void transComplete(object sender, Transition.Args e)
 {
     this.BackColor = _normalColor;
 }
Ejemplo n.º 17
0
 private void onTransitionCompleted(object sender, Transition.Args e)
 {
     ((Transition)sender).TransitionCompletedEvent -= onTransitionCompleted;
     m_listTransitions.RemoveFirst();
     runNextTransition();
 }