Exemple #1
0
        private void btnMoveLeft_Click(object sender, EventArgs e)
        {
            if (lbxSelectedMechanics != null)
            {
                foreach (var item in lbxSelectedMechanics.SelectedItems)
                {
                    MechanicList.Add(item as MechanicViewModel);
                }

                foreach (var item in MechanicList)
                {
                    SelectedMechanicList.Remove(item as MechanicViewModel);
                }

                RebindListboxes();
            }
        }