Exemplo n.º 1
0
 void HexView_Closed(object sender, EventArgs e)
 {
     Debug.Assert(hexView.Properties.ContainsProperty(typeof(HexAndAdornmentSequencer)));
     hexView.Properties.RemoveProperty(typeof(HexAndAdornmentSequencer));
     hexView.Closed -= HexView_Closed;
     hexTagAggregator.TagsChanged -= HexTagAggregator_TagsChanged;
     hexTagAggregator.Dispose();
 }
 void WpfHexView_Closed(object sender, EventArgs e)
 {
     wpfHexView.Closed        -= WpfHexView_Closed;
     wpfHexView.LayoutChanged -= WpfHexView_LayoutChanged;
     wpfHexView.Selection.SelectionChanged -= Selection_SelectionChanged;
     tagAggregator.TagsChanged             -= TagAggregator_TagsChanged;
     tagAggregator.Dispose();
     adornmentTagInfos.Clear();
     layer?.RemoveAllAdornments();
 }
Exemplo n.º 3
0
 protected override void DisposeCore()
 {
     wpfHexViewHost.HexView.Options.OptionChanged -= Options_OptionChanged;
     wpfHexViewHost.HexView.ZoomLevelChanged      -= HexView_ZoomLevelChanged;
     canvas.IsVisibleChanged -= GlyphMargin_IsVisibleChanged;
     UnregisterEvents();
     lineInfos?.Clear();
     iconCanvas?.Children.Clear();
     mouseProcessorCollection?.Dispose();
     tagAggregator?.Dispose();
 }
Exemplo n.º 4
0
 void HexView_Closed(object sender, EventArgs e)
 {
     hexView.Closed -= HexView_Closed;
     hexView.Options.OptionChanged -= Options_OptionChanged;
     tagAggregator.Dispose();
 }
Exemplo n.º 5
0
 protected override void DisposeCore()
 {
     hexTagAggregator.TagsChanged -= HexTagAggregator_TagsChanged;
     hexTagAggregator.Dispose();
 }