public void Handle(object sender, EventArgs e) { listTable.ChangeState(d); Bill bill = new Bill(); bill.Id = "bill" + DateTime.Now.ToUniversalTime().Subtract(new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalMilliseconds; bill.DeskId = d.Id; bill.Status = 0; bill.AccountId = listTable.Account.Id; listTable.ListBill.Add(bill); listTable.DisplayBookForm(bill); }