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