PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/Main/src/Samples/v0.3/CoastlineSampleApp/Window1.xaml.cs

#
C# | 34 lines | 28 code | 3 blank | 3 comment | 0 complexity | b1246271caf8a45acbfb86b5aabb3c22 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Data;
  8. using System.Windows.Documents;
  9. using System.Windows.Input;
  10. using System.Windows.Media;
  11. using System.Windows.Media.Imaging;
  12. using System.Windows.Navigation;
  13. using System.Windows.Shapes;
  14. namespace CoastlineSampleApp
  15. {
  16. /// <summary>
  17. /// Interaction logic for Window1.xaml
  18. /// </summary>
  19. public partial class Window1 : Window
  20. {
  21. public Window1()
  22. {
  23. InitializeComponent();
  24. Loaded += new RoutedEventHandler(Window1_Loaded);
  25. }
  26. void Window1_Loaded(object sender, RoutedEventArgs e)
  27. {
  28. plotter.Viewport.Visible = new Rect(-180, -90, 360, 180);
  29. }
  30. }
  31. }