Example #1
0
        private void InitializeEntity(Object sender, Server.Application.EntityGetCompletedEventArgs e)
        {
            GlobalProgressBarHide();

            if ((!SetExceptionMessage(e)) && (!SetExceptionMessage(e.Result, "Member (Entity)")))
            {
                entity = e.Result;

                InitializeAll();
            }

            return;
        }
Example #2
0
        private void EntityGetCompleted(Object sender, Server.Application.EntityGetCompletedEventArgs e)
        {
            GlobalProgressBarHide("Entity");

            if ((!e.Cancelled) && (e.Error == null) && (e.Result != null))
            {
                entity = new Entity.Entity(Application, e.Result);

                NotifyPropertyChanged("Name");

                NotifyPropertyChanged("Entity");
            }

            return;
        }
Example #3
0
        private void SetEntityFromId(Object sender, Server.Application.EntityGetCompletedEventArgs e)
        {
            Entity = e.Result;

            return;
        }