Exemplo n.º 1
0
 private void sendStatusChanged()
 {
     StateEventArgs e = new StateEventArgs();
     e.Status = Status;
     MovieThreadUtil.InvokeLator(OnStateChanged, e);
 }
 public static void InvokeLator(StateMethod method, StateEventArgs e)
 {
     stateMethodQueue.Enqueue(method);
     stateArgsQueue.Enqueue(e);
 }
Exemplo n.º 3
0
 private void OnStateChanged(StateEventArgs e)
 {
     if (StateChanged != null) {
         StateChanged(this, e);
     }
 }
 private void applyStateChaged(object sender, StateEventArgs e)
 {
     if (e.Status == State.Play) {
         closeBusyDialog();
     }
 }