Example #1
0
 private void TreeOnEnable()
 {
     if (treeChanges != null)
     {
         treeChanges.OnEnable();
         treeChanges.UpdateIcons(Styles.FolderIcon);
     }
 }
Example #2
0
        public override void OnEnable()
        {
            base.OnEnable();

            if (treeChanges != null)
            {
                treeChanges.ViewHasFocus = HasFocus;
                treeChanges.UpdateIcons(Styles.FolderIcon);
            }

            AttachHandlers(Repository);
            ValidateCachedData(Repository);
        }
Example #3
0
        public override void OnEnable()
        {
            base.OnEnable();

            if (treeChanges != null)
            {
                treeChanges.ViewHasFocus = HasFocus;
                treeChanges.UpdateIcons(Styles.FolderIcon);
            }

            AttachHandlers(Repository);
            Repository.CheckCurrentBranchChangedEvent(lastCurrentBranchChangedEvent);
            Repository.CheckStatusEntriesChangedEvent(lastStatusEntriesChangedEvent);
            Repository.CheckLocksChangedEvent(lastLocksChangedEvent);
        }
Example #4
0
        public override void OnEnable()
        {
            base.OnEnable();

            if (treeChanges != null)
            {
                treeChanges.ViewHasFocus = HasFocus;
                treeChanges.UpdateIcons(Styles.FolderIcon);
            }

            AttachHandlers(Repository);

            if (Repository != null)
            {
                Repository.CheckLogChangedEvent(lastLogChangedEvent);
                Repository.CheckStatusChangedEvent(lastTrackingStatusChangedEvent);
                Repository.CheckCurrentRemoteChangedEvent(lastCurrentRemoteChangedEvent);
            }
        }