Пример #1
0
        protected override void OnDocumentLoaded()
        {
            base.OnDocumentLoaded();

            EventManagerDirectory events = this.Store.EventManagerDirectory;

            events.ElementPropertyChanged.Add(new EventHandler <ElementPropertyChangedEventArgs>(OnElementPropertyChanged));
            events.ElementAdded.Add(new EventHandler <ElementAddedEventArgs>(OnElementAdded));
            events.RolePlayerChanged.Add(new EventHandler <RolePlayerChangedEventArgs>(OnRolePlayerChanged));

            //AddBuildInDomainTypes();

            CheckEntityModel();

            VersionUpgradeManager.CheckForUpdate();
        }
Пример #2
0
 public override void ExecCommand(MenuCommand menuCommand)
 {
     VersionUpgradeManager.CheckForUpdate(true, false);
 }