Ejemplo n.º 1
0
        public frmMonitor(QuickGenerator.Settings setting)
        {
            _setting = setting;

            if (_setting.capacityClipBoardRing < 3)
                _setting.capacityClipBoardRing = 3;

            clipRing = new ClipBoardRing(_setting.CapacityClipBoardRing);
        }
        public void Dispose()
        {
            if (autoClose != null)
            {
                Disable();
            }

            settings = null;
            enabled = false;
            abbreviations = null;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (isActive)
            {
                isActive = false;
                NativeMethods.ChangeClipboardChain(this.Handle, nextClipboardViewer);
            }

            if (clipRing != null)
            {
                clipRing.Clear();
                clipRing = null;
            }

            _setting = null;
            base.Dispose(disposing);
        }
Ejemplo n.º 4
0
 public void Dispose()
 {
     settings = null;
 }
Ejemplo n.º 5
0
 public ReformatterCode(QuickGenerator.Settings settings)
 {
     this.settings = settings;
 }
 public ControlShortCutAutoClose(QuickGenerator.Settings settings, Abbreviations abbreviations)
 {
     this.settings = settings;
     this.abbreviations = abbreviations;
 }
Ejemplo n.º 7
0
        public void Dispose()
        {
            if (declarationWord != null)
            {
                declarationWord.Dispose();
                declarationWord = null;
            }
            _vocabularyArgument = null;

            if (sciMonitor != null)
            {
                DeactiveMonitorWords();
            }

            _setting = null;

            if (Words == null ) return;

            foreach (WordRegion item in Words)
            {
                item.Dispose();
            }

            if (highlightWord != null)
            {
                highlightWord.Stop();
                highlightWord.Dispose();
                highlightWord = null;

            }

            Words.Clear();

            Words = null;
            imports = null;

            AfterCurrentMember = null;
        }
Ejemplo n.º 8
0
        public CreateWords(QuickGenerator.Settings settings, VocabularyArgument vocabularyArgument)
        {
            this._setting = settings;

               _vocabularyArgument = vocabularyArgument;

            changeWord = new delegateChangeWord(ChangeWordsVar);

            Words = new List<WordRegionBase>();
            lsVar = new Dictionary<string, VarWordRegion>();

            curIndWord = -1;
        }
Ejemplo n.º 9
0
        public Abbreviations(QuickGenerator.Settings settings, VocabularyArgument vocabularyArguments )
        {
            this.settings = settings;
            this.vocabularyArguments = vocabularyArguments;
            if (this.vocabularyArguments == null) this.vocabularyArguments = new VocabularyArgument();

            //CreateNewWords();
            dictionaryCreateWords = new Dictionary<IntPtr, CreateWords>(3);
        }
Ejemplo n.º 10
0
        public void Dispose()
        {
            settings = null;

               if(currentCreateWords!=null)
            currentCreateWords.Dispose();
            if (listAbrrevationsVisible)
            {
                RemoveListenerAbbrevationsList();
            }
        }