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

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

            AttachHandlers(Repository);
            ValidateCachedData(Repository);
        }
Beispiel #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);
        }
Beispiel #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);
            }
        }