private void OnWindowClosing(object sender, CancelEventArgs e) { if (_debugPage != null) { _debugPage.Startup(); } }
private void OnWindowLoaded(object sender, RoutedEventArgs e) { // Retrieve the display pages... _svgPage = frameSvgInput.Content as SvgPage; _xamlPage = frameXamlOutput.Content as XamlPage; _debugPage = frameDebugging.Content as DebugPage; _settingsPage = frameSettings.Content as SettingsPage; if (_svgPage != null && _xamlPage != null) { _svgPage.XamlPage = _xamlPage; } if (_svgPage != null && _settingsPage != null) { _settingsPage.SvgPage = _svgPage; } if (_debugPage != null) { _debugPage.Startup(); } tabSvgInput.IsSelected = true; }
public void WindowLoaded(object sender, RoutedEventArgs e) { if (_debugPage != null) { if (!_debugPage.IsTraceStarted) { _debugPage.Startup(); } } }
public void ContentRendered(object sender, EventArgs e) { if (_isShown) { return; } _isShown = true; // Retrieve the display pages... _svgPage = frameSvgInput.Content as SvgPage; _xamlPage = frameXamlOutput.Content as XamlPage; _debugPage = frameDebugging.Content as DebugPage; _settingsPage = frameSettings.Content as SettingsPage; if (_svgPage != null && _xamlPage != null) { _svgPage.XamlPage = _xamlPage; } if (_svgPage != null && _settingsPage != null) { _settingsPage.SvgPage = _svgPage; } if (_debugPage != null) { if (!_debugPage.IsTraceStarted) { _debugPage.Startup(); } } if (_svgPage != null) { _svgPage.InitializeDocument(); } }