Exemple #1
0
        private void CloseButton_Click(object sender, EventArgs e)
        {
            BekuldottTicketek found = model.BekuldottTicketek.Find(((BekuldottTicketek)OpenedTickesList.SelectedItem).Id);

            if (found != null)
            {
                found.Statusz = (int)BekuldottTicketek.Status.Ended;
                model.SaveChanges();
                ListModifier.UpdateList(OpenedTickesList, ActiveTicketLabel, model.BekuldottTicketek.ToArray());
            }
        }
Exemple #2
0
 private void Main_Load(object sender, EventArgs e)
 {
     ListModifier.UpdateList(OpenedTickesList, ActiveTicketLabel, model.BekuldottTicketek.ToArray());
 }