Beispiel #1
0
        void _selectedWorkers_Changed(object sender, Common.CollectionChangeEventArgs args)
        {
            if (WorkerSelectedChangedEvent != null)
            {
                WorkerSelectedChangedEvent(this, null);
            }

            if (isLoading)
            {
                return;
            }

            RefreshControls(false, true, false);
        }
Beispiel #2
0
        private void ServiceUsersRemoved(object sender, Cura.Common.CollectionChangeEventArgs args)
        {
            if (ServiceUsersRemovedEvent != null)
            {
                ServiceUsersRemovedEvent(args.removed.Cast <ServiceUser>().ToArray());
            }

            if (isLoading)
            {
                return;
            }

            RefreshControls(true);
        }
 private void KeyWorkersChanged(object sender, Cura.Common.CollectionChangeEventArgs args)
 {
     RefreshKeyWorkerList();
 }