private void OnHexCanvasRenderSizeChanged( object sender, RenderSizeChangedEventArgs e )
 {
     m_terminal.CharsPerLine = (int)(m_terminalCanvas.ActualWidth / m_charWidth);
     m_terminalCanvas.InvalidateVisual();
 }
Example #2
0
 private void OnHexCanvasRenderSizeChanged(object sender, RenderSizeChangedEventArgs e)
 {
     m_terminal.CharsPerLine = (int)(m_terminalCanvas.ActualWidth / m_charWidth);
     m_terminalCanvas.InvalidateVisual();
 }