1 #pragma checksum "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B6A73E50B6C5FA7E853E387A2D916A5E" 16 using System.Windows.Automation;
17 using System.Windows.Controls;
18 using System.Windows.Controls.Primitives;
20 using System.Windows.Documents;
22 using System.Windows.Input;
23 using System.Windows.Markup;
24 using System.Windows.Media;
25 using System.Windows.Media.Animation;
26 using System.Windows.Media.Effects;
27 using System.Windows.Media.Imaging;
28 using System.Windows.Media.Media3D;
29 using System.Windows.Media.TextFormatting;
30 using System.Windows.Navigation;
31 using System.Windows.Shapes;
32 using System.Windows.Shell;
44 #line 97 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 45 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
46 internal System.Windows.Controls.Primitives.ToggleButton btnCustomSeed;
52 #line 115 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 53 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
54 internal System.Windows.Controls.Primitives.ToggleButton btnUsePreviousSeed;
60 #line 200 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 61 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
62 internal System.Windows.Controls.Primitives.ToggleButton btnAlarm;
68 #line 237 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 69 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
70 internal System.Windows.Controls.TextBox txtModelTimeAlarm;
76 #line 279 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 77 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
78 internal System.Windows.Controls.TextBox txtSimStepsAlarm;
84 #line 344 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 85 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
86 internal System.Windows.Controls.Slider sliderGraphicsTimer;
92 #line 362 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 93 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1823:AvoidUnusedPrivateFields")]
94 internal System.Windows.Controls.Button btnStop;
99 private bool _contentLoaded;
104 [
System.Diagnostics.DebuggerNonUserCodeAttribute()]
105 [
System.CodeDom.Compiler.GeneratedCodeAttribute(
"PresentationBuildTasks",
"4.0.0.0")]
107 if (_contentLoaded) {
110 _contentLoaded =
true;
111 System.Uri resourceLocater =
new System.Uri(
"/Microscopic Traffic Simulator;component/views/mainwindowview/simulationcontrolus" +
112 "ercontrol.xaml",
System.UriKind.Relative);
114 #line 1 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 115 System.Windows.Application.LoadComponent(
this, resourceLocater);
121 [
System.Diagnostics.DebuggerNonUserCodeAttribute()]
122 [
System.CodeDom.Compiler.GeneratedCodeAttribute(
"PresentationBuildTasks",
"4.0.0.0")]
123 [
System.ComponentModel.EditorBrowsableAttribute(
System.ComponentModel.EditorBrowsableState.Never)]
124 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Design",
"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
125 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Maintainability",
"CA1502:AvoidExcessiveComplexity")]
126 [
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute(
"Microsoft.Performance",
"CA1800:DoNotCastUnnecessarily")]
127 void System.Windows.Markup.IComponentConnector.Connect(
int connectionId,
object target) {
128 switch (connectionId)
132 #line 9 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 138 #line 10 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 146 #line 41 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 147 ((
System.Windows.Controls.Button)(target)).Click +=
new System.Windows.RoutedEventHandler(
this.SwitchToConstructionModeButton_Click);
154 #line 57 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 155 ((
System.Windows.Controls.Button)(target)).Click +=
new System.Windows.RoutedEventHandler(
this.ForwardStepButton_Click);
162 #line 64 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 163 ((
System.Windows.Controls.Button)(target)).Click +=
new System.Windows.RoutedEventHandler(
this.ForwardButton_Click);
169 this.btnCustomSeed = ((
System.Windows.Controls.Primitives.ToggleButton)(target));
172 this.btnUsePreviousSeed = ((
System.Windows.Controls.Primitives.ToggleButton)(target));
175 this.btnAlarm = ((
System.Windows.Controls.Primitives.ToggleButton)(target));
178 this.txtModelTimeAlarm = ((
System.Windows.Controls.TextBox)(target));
182 #line 244 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 183 ((
System.Windows.Controls.Button)(target)).Click +=
new System.Windows.RoutedEventHandler(
this.ApplyAlarmButton_Click);
189 this.txtSimStepsAlarm = ((
System.Windows.Controls.TextBox)(target));
193 #line 286 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 194 ((
System.Windows.Controls.Button)(target)).Click +=
new System.Windows.RoutedEventHandler(
this.ApplyAlarmButton_Click);
200 this.sliderGraphicsTimer = ((
System.Windows.Controls.Slider)(target));
202 #line 345 "..\..\..\..\Views\MainWindowView\SimulationControlUserControl.xaml" 203 this.sliderGraphicsTimer.ValueChanged +=
new System.Windows.RoutedPropertyChangedEventHandler<
double>(this.sliderGraphicsTimer_ValueChanged);
209 this.btnStop = ((
System.Windows.Controls.Button)(target));
212 this._contentLoaded =
true;
void InitializeComponent()
InitializeComponent
SimulationControlUserControl