PageRenderTime 31ms CodeModel.GetById 23ms app.highlight 3ms RepoModel.GetById 2ms 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
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using System.Windows;
 6using System.Windows.Controls;
 7using System.Windows.Data;
 8using System.Windows.Documents;
 9using System.Windows.Input;
10using System.Windows.Media;
11using System.Windows.Media.Imaging;
12using System.Windows.Navigation;
13using System.Windows.Shapes;
14
15namespace CoastlineSampleApp
16{
17	/// <summary>
18	/// Interaction logic for Window1.xaml
19	/// </summary>
20	public partial class Window1 : Window
21	{
22		public Window1()
23		{
24			InitializeComponent();
25
26			Loaded += new RoutedEventHandler(Window1_Loaded);
27		}
28
29		void Window1_Loaded(object sender, RoutedEventArgs e)
30		{
31			plotter.Viewport.Visible = new Rect(-180, -90, 360, 180);
32		}
33	}
34}