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(); }
public override void ExecCommand(MenuCommand menuCommand) { VersionUpgradeManager.CheckForUpdate(true, false); }