/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
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
-
- namespace CoastlineSampleApp
- {
- /// <summary>
- /// Interaction logic for Window1.xaml
- /// </summary>
- public partial class Window1 : Window
- {
- public Window1()
- {
- InitializeComponent();
-
- Loaded += new RoutedEventHandler(Window1_Loaded);
- }
-
- void Window1_Loaded(object sender, RoutedEventArgs e)
- {
- plotter.Viewport.Visible = new Rect(-180, -90, 360, 180);
- }
- }
- }