Ejemplo n.º 1
0
        private void ButtonFromSelectedAll_Click(object sender, RoutedEventArgs e)
        {
            foreach (Infoscreen.Configuration.ItemSystem.ItemChair item in SelectedChairItems)
            {
                ChairItems.Add(item);
            }

            SelectedChairItems.Clear();
            SetButtonsState();
        }
Ejemplo n.º 2
0
        private void OneChairFromSelected()
        {
            if (!(DataGridSelectedItemChairs.SelectedItem is Infoscreen.Configuration.ItemSystem.ItemChair itemChair))
            {
                return;
            }

            ChairItems.Add(itemChair);
            SelectedChairItems.Remove(itemChair);

            SetButtonsState();
        }