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

            if (isLoading)
            {
                return;
            }

            RefreshControls(false, true, false);
        }
コード例 #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);
        }
コード例 #3
0
 private void KeyWorkersChanged(object sender, Cura.Common.CollectionChangeEventArgs args)
 {
     RefreshKeyWorkerList();
 }