NewViolationPage.g.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #pragma checksum "..\..\NewViolationPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9914B95DE120A0952AA4FD06721F5B893EC6C10B487DE82F7EE7848D35814078"
  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. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. using System.Windows.Shell;
  31. using ViolationNOT;
  32. namespace ViolationNOT {
  33. /// <summary>
  34. /// NewViolationPage
  35. /// </summary>
  36. public partial class NewViolationPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
  37. #line 28 "..\..\NewViolationPage.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.Button BtnAddViolation;
  40. #line default
  41. #line hidden
  42. #line 39 "..\..\NewViolationPage.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.ComboBox CmbType;
  45. #line default
  46. #line hidden
  47. #line 40 "..\..\NewViolationPage.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.TextBox TxtCarNumber;
  50. #line default
  51. #line hidden
  52. #line 42 "..\..\NewViolationPage.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Button BtnAddPhoto;
  55. #line default
  56. #line hidden
  57. #line 43 "..\..\NewViolationPage.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.Image Photo;
  60. #line default
  61. #line hidden
  62. private bool _contentLoaded;
  63. /// <summary>
  64. /// InitializeComponent
  65. /// </summary>
  66. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  67. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  68. public void InitializeComponent() {
  69. if (_contentLoaded) {
  70. return;
  71. }
  72. _contentLoaded = true;
  73. System.Uri resourceLocater = new System.Uri("/ViolationNOT;component/newviolationpage.xaml", System.UriKind.Relative);
  74. #line 1 "..\..\NewViolationPage.xaml"
  75. System.Windows.Application.LoadComponent(this, resourceLocater);
  76. #line default
  77. #line hidden
  78. }
  79. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  80. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  81. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  82. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  85. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  86. switch (connectionId)
  87. {
  88. case 1:
  89. this.BtnAddViolation = ((System.Windows.Controls.Button)(target));
  90. #line 28 "..\..\NewViolationPage.xaml"
  91. this.BtnAddViolation.Click += new System.Windows.RoutedEventHandler(this.BtnAddViolation_Click);
  92. #line default
  93. #line hidden
  94. return;
  95. case 2:
  96. this.CmbType = ((System.Windows.Controls.ComboBox)(target));
  97. #line 39 "..\..\NewViolationPage.xaml"
  98. this.CmbType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbType_SelectionChanged);
  99. #line default
  100. #line hidden
  101. return;
  102. case 3:
  103. this.TxtCarNumber = ((System.Windows.Controls.TextBox)(target));
  104. return;
  105. case 4:
  106. this.BtnAddPhoto = ((System.Windows.Controls.Button)(target));
  107. #line 42 "..\..\NewViolationPage.xaml"
  108. this.BtnAddPhoto.Click += new System.Windows.RoutedEventHandler(this.BtnAddPhoto_Click);
  109. #line default
  110. #line hidden
  111. return;
  112. case 5:
  113. this.Photo = ((System.Windows.Controls.Image)(target));
  114. return;
  115. }
  116. this._contentLoaded = true;
  117. }
  118. }
  119. }