public void OpenedCash(Object sender, ServicePointArgs args) { // args.servicePoint.ClientEnteredCashier += new ServicePoint.ClientEnteredCashierEventHandler(ClientAddedToServicePoint); MoveClientsToCash(args.servicePoint); }
protected void OnServicePointOpened(ServicePointArgs e) { if (ServicePointOpened != null) { ServicePointOpened(this, e); } }
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."); }
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); } }