Microscopic Traffic Simulator
MainWindow.g.cs
Go to the documentation of this file.
1 #pragma checksum "..\..\..\..\Views\MainWindowView\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DA3EEA1477FEDE08EE2C5C6F2810D69D"
2 //------------------------------------------------------------------------------
3 // <auto-generated>
4 // This code was generated by a tool.
5 // Runtime Version:4.0.30319.42000
6 //
7 // Changes to this file may cause incorrect behavior and will be lost if
8 // the code is regenerated.
9 // </auto-generated>
10 //------------------------------------------------------------------------------
11 
15 using System;
16 using System.Diagnostics;
17 using System.Windows;
18 using System.Windows.Automation;
19 using System.Windows.Controls;
20 using System.Windows.Controls.Primitives;
21 using System.Windows.Data;
22 using System.Windows.Documents;
23 using System.Windows.Ink;
24 using System.Windows.Input;
25 using System.Windows.Markup;
26 using System.Windows.Media;
27 using System.Windows.Media.Animation;
28 using System.Windows.Media.Effects;
29 using System.Windows.Media.Imaging;
30 using System.Windows.Media.Media3D;
31 using System.Windows.Media.TextFormatting;
32 using System.Windows.Navigation;
33 using System.Windows.Shapes;
34 using System.Windows.Shell;
35 
36 
37 namespace Microscopic_Traffic_Simulator.Views.MainWindowView {
38 
39 
43  public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
44 
45 
46  #line 7 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
47  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
49 
50  #line default
51  #line hidden
52 
53 
54  #line 108 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
55  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
56  internal System.Windows.Controls.ContentControl topPanel;
57 
58  #line default
59  #line hidden
60 
61 
62  #line 125 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
63  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
65 
66  #line default
67  #line hidden
68 
69 
70  #line 132 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
71  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
73 
74  #line default
75  #line hidden
76 
77  private bool _contentLoaded;
78 
82  [System.Diagnostics.DebuggerNonUserCodeAttribute()]
83  [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
84  public void InitializeComponent() {
85  if (_contentLoaded) {
86  return;
87  }
88  _contentLoaded = true;
89  System.Uri resourceLocater = new System.Uri("/Microscopic Traffic Simulator;component/views/mainwindowview/mainwindow.xaml", System.UriKind.Relative);
90 
91  #line 1 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
92  System.Windows.Application.LoadComponent(this, resourceLocater);
93 
94  #line default
95  #line hidden
96  }
97 
98  [System.Diagnostics.DebuggerNonUserCodeAttribute()]
99  [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
100  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
101  internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
102  return System.Delegate.CreateDelegate(delegateType, this, handler);
103  }
104 
105  [System.Diagnostics.DebuggerNonUserCodeAttribute()]
106  [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
107  [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
108  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
109  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
110  [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
111  void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
112  switch (connectionId)
113  {
114  case 1:
115  this.mainWindow = ((Microscopic_Traffic_Simulator.Views.MainWindowView.MainWindow)(target));
116 
117  #line 10 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
118  this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing);
119 
120  #line default
121  #line hidden
122 
123  #line 10 "..\..\..\..\Views\MainWindowView\MainWindow.xaml"
124  this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.mainWindow_Loaded);
125 
126  #line default
127  #line hidden
128  return;
129  case 2:
130  this.topPanel = ((System.Windows.Controls.ContentControl)(target));
131  return;
132  case 3:
133  this.bottomPanelUserControl = ((Microscopic_Traffic_Simulator.Views.MainWindowView.BottomPanelUserControl)(target));
134  return;
135  case 4:
136  this.canvasUserControl = ((Microscopic_Traffic_Simulator.Views.MainWindowView.CanvasUserControl)(target));
137  return;
138  }
139  this._contentLoaded = true;
140  }
141  }
142 }
143