Browse files

Moved to a more suitable location in the class.

  • Loading branch information...
1 parent 83859ec commit b5bb04ef603e1db830a6f0573ddfb2ed1706a9c9 @perlun perlun committed Sep 14, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 CefSharp.Wpf.Example/MainWindow.xaml.cs
View
10 CefSharp.Wpf.Example/MainWindow.xaml.cs
@@ -122,11 +122,6 @@ public void DisplayOutput(string output)
outputLabel.Content = output;
}
- public void SetZoomLevel(object sender, RoutedPropertyChangedEventArgs<double> zoomLevelArgs)
- {
- web_view.ZoomLevel = zoomLevelArgs.NewValue;
- }
-
private void control_Activated(object sender, RoutedEventArgs e)
{
EventHandler handler;
@@ -150,5 +145,10 @@ private void urlTextBox_KeyDown(object sender, KeyEventArgs e)
handler(this, urlTextBox.Text);
}
}
+
+ public void SetZoomLevel(object sender, RoutedPropertyChangedEventArgs<double> zoomLevelArgs)
+ {
+ web_view.ZoomLevel = zoomLevelArgs.NewValue;
+ }
}
}

0 comments on commit b5bb04e

Please sign in to comment.