示例#1
0
 public void OpenedCash(Object sender, ServicePointArgs args)
 {
     // args.servicePoint.ClientEnteredCashier += new ServicePoint.ClientEnteredCashierEventHandler(ClientAddedToServicePoint);
     MoveClientsToCash(args.servicePoint);
 }
示例#2
0
 protected void OnServicePointOpened(ServicePointArgs e)
 {
     if (ServicePointOpened != null)
     {
         ServicePointOpened(this, e);
     }
 }
示例#3
0
 private void onServicePointDeletedHandler(Object sender, ServicePointArgs e)
 {
 }
 private void ServicePointOpened(Object sender, ServicePointArgs args)
 {
     Logger.Output(this.sim.timeFromTicks(Timer.getTick()) + " - " + args.servicePoint.ToString() + " has been opened.");
 }
示例#5
0
        private void onServicePointCreatedHandler(Object sender, ServicePointArgs e)
        {
            ListViewItem newItem = new ListViewItem();
            newItem.Text = e.servicePoint.ToString();
            newItem.Tag = e.servicePoint.getId();

            if (this.lbQueues.InvokeRequired)
            {
                lbInsertCallback c = new lbInsertCallback(this.lbQueues.Items.Insert);
                this.lbQueues.Invoke(c, new Object[] { e.servicePoint.getId(), newItem });
            }
            else
            {
                this.lbQueues.Items.Insert(e.servicePoint.getId(), newItem);
            }
        }