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; }
/// <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); }
public void Dispose() { settings = null; }
public ReformatterCode(QuickGenerator.Settings settings) { this.settings = settings; }
public ControlShortCutAutoClose(QuickGenerator.Settings settings, Abbreviations abbreviations) { this.settings = settings; this.abbreviations = abbreviations; }
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; }
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; }
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); }
public void Dispose() { settings = null; if(currentCreateWords!=null) currentCreateWords.Dispose(); if (listAbrrevationsVisible) { RemoveListenerAbbrevationsList(); } }