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