Нет описания

Settings.g.i.cs 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. #pragma checksum "..\..\..\Settings.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F6B842C535BDFE77E9619E5376B559EC"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.235
  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 WpfLocalization;
  32. namespace WpfApplication19 {
  33. /// <summary>
  34. /// Settings
  35. /// </summary>
  36. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  37. public partial class Settings : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  38. #line 4 "..\..\..\Settings.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal WpfApplication19.Settings SettingWindow;
  41. #line default
  42. #line hidden
  43. #line 10 "..\..\..\Settings.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.TabControl tabControl1;
  46. #line default
  47. #line hidden
  48. #line 11 "..\..\..\Settings.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.TabItem tabItem1;
  51. #line default
  52. #line hidden
  53. #line 13 "..\..\..\Settings.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.GroupBox groupBox1;
  56. #line default
  57. #line hidden
  58. #line 15 "..\..\..\Settings.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.Label label1;
  61. #line default
  62. #line hidden
  63. #line 16 "..\..\..\Settings.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.TextBox configDbCs;
  66. #line default
  67. #line hidden
  68. #line 17 "..\..\..\Settings.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.Label label2;
  71. #line default
  72. #line hidden
  73. #line 18 "..\..\..\Settings.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.TextBox masterDbCs;
  76. #line default
  77. #line hidden
  78. #line 19 "..\..\..\Settings.xaml"
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  80. internal System.Windows.Controls.Label label3;
  81. #line default
  82. #line hidden
  83. #line 20 "..\..\..\Settings.xaml"
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  85. internal System.Windows.Controls.TextBox transDbCs;
  86. #line default
  87. #line hidden
  88. #line 21 "..\..\..\Settings.xaml"
  89. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  90. internal System.Windows.Controls.Button testConfig;
  91. #line default
  92. #line hidden
  93. #line 22 "..\..\..\Settings.xaml"
  94. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  95. internal System.Windows.Controls.Button testMaster;
  96. #line default
  97. #line hidden
  98. #line 23 "..\..\..\Settings.xaml"
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  100. internal System.Windows.Controls.Button testTrans;
  101. #line default
  102. #line hidden
  103. #line 24 "..\..\..\Settings.xaml"
  104. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  105. internal System.Windows.Controls.Label label9;
  106. #line default
  107. #line hidden
  108. #line 25 "..\..\..\Settings.xaml"
  109. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  110. internal System.Windows.Controls.TextBox productionDbCS;
  111. #line default
  112. #line hidden
  113. #line 26 "..\..\..\Settings.xaml"
  114. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  115. internal System.Windows.Controls.Button testPro;
  116. #line default
  117. #line hidden
  118. #line 32 "..\..\..\Settings.xaml"
  119. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  120. internal System.Windows.Controls.Grid grid1;
  121. #line default
  122. #line hidden
  123. #line 33 "..\..\..\Settings.xaml"
  124. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  125. internal System.Windows.Controls.Label label6;
  126. #line default
  127. #line hidden
  128. #line 34 "..\..\..\Settings.xaml"
  129. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  130. internal System.Windows.Controls.ComboBox COMPorts;
  131. #line default
  132. #line hidden
  133. #line 35 "..\..\..\Settings.xaml"
  134. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  135. internal System.Windows.Controls.Label label4;
  136. #line default
  137. #line hidden
  138. #line 36 "..\..\..\Settings.xaml"
  139. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  140. internal System.Windows.Controls.ComboBox baudRate;
  141. #line default
  142. #line hidden
  143. #line 46 "..\..\..\Settings.xaml"
  144. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  145. internal System.Windows.Controls.Label label5;
  146. #line default
  147. #line hidden
  148. #line 47 "..\..\..\Settings.xaml"
  149. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  150. internal System.Windows.Controls.ComboBox parity;
  151. #line default
  152. #line hidden
  153. #line 52 "..\..\..\Settings.xaml"
  154. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  155. internal System.Windows.Controls.Label label7;
  156. #line default
  157. #line hidden
  158. #line 53 "..\..\..\Settings.xaml"
  159. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  160. internal System.Windows.Controls.ComboBox dataBits;
  161. #line default
  162. #line hidden
  163. #line 58 "..\..\..\Settings.xaml"
  164. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  165. internal System.Windows.Controls.Label label8;
  166. #line default
  167. #line hidden
  168. #line 59 "..\..\..\Settings.xaml"
  169. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  170. internal System.Windows.Controls.ComboBox stopBits;
  171. #line default
  172. #line hidden
  173. #line 64 "..\..\..\Settings.xaml"
  174. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  175. internal System.Windows.Controls.Button portTest;
  176. #line default
  177. #line hidden
  178. #line 68 "..\..\..\Settings.xaml"
  179. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  180. internal System.Windows.Controls.Button save;
  181. #line default
  182. #line hidden
  183. #line 69 "..\..\..\Settings.xaml"
  184. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  185. internal System.Windows.Controls.Button button2;
  186. #line default
  187. #line hidden
  188. private bool _contentLoaded;
  189. /// <summary>
  190. /// InitializeComponent
  191. /// </summary>
  192. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  193. public void InitializeComponent() {
  194. if (_contentLoaded) {
  195. return;
  196. }
  197. _contentLoaded = true;
  198. System.Uri resourceLocater = new System.Uri("/WpfApplication19;component/settings.xaml", System.UriKind.Relative);
  199. #line 1 "..\..\..\Settings.xaml"
  200. System.Windows.Application.LoadComponent(this, resourceLocater);
  201. #line default
  202. #line hidden
  203. }
  204. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  205. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  206. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  207. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  208. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  209. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  210. switch (connectionId)
  211. {
  212. case 1:
  213. this.SettingWindow = ((WpfApplication19.Settings)(target));
  214. #line 4 "..\..\..\Settings.xaml"
  215. this.SettingWindow.Loaded += new System.Windows.RoutedEventHandler(this.init);
  216. #line default
  217. #line hidden
  218. return;
  219. case 2:
  220. this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
  221. return;
  222. case 3:
  223. this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
  224. return;
  225. case 4:
  226. this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
  227. return;
  228. case 5:
  229. this.label1 = ((System.Windows.Controls.Label)(target));
  230. return;
  231. case 6:
  232. this.configDbCs = ((System.Windows.Controls.TextBox)(target));
  233. return;
  234. case 7:
  235. this.label2 = ((System.Windows.Controls.Label)(target));
  236. return;
  237. case 8:
  238. this.masterDbCs = ((System.Windows.Controls.TextBox)(target));
  239. return;
  240. case 9:
  241. this.label3 = ((System.Windows.Controls.Label)(target));
  242. return;
  243. case 10:
  244. this.transDbCs = ((System.Windows.Controls.TextBox)(target));
  245. return;
  246. case 11:
  247. this.testConfig = ((System.Windows.Controls.Button)(target));
  248. #line 21 "..\..\..\Settings.xaml"
  249. this.testConfig.Click += new System.Windows.RoutedEventHandler(this.testConfig_Click);
  250. #line default
  251. #line hidden
  252. return;
  253. case 12:
  254. this.testMaster = ((System.Windows.Controls.Button)(target));
  255. #line 22 "..\..\..\Settings.xaml"
  256. this.testMaster.Click += new System.Windows.RoutedEventHandler(this.testMaster_Click);
  257. #line default
  258. #line hidden
  259. return;
  260. case 13:
  261. this.testTrans = ((System.Windows.Controls.Button)(target));
  262. #line 23 "..\..\..\Settings.xaml"
  263. this.testTrans.Click += new System.Windows.RoutedEventHandler(this.testTrans_Click);
  264. #line default
  265. #line hidden
  266. return;
  267. case 14:
  268. this.label9 = ((System.Windows.Controls.Label)(target));
  269. return;
  270. case 15:
  271. this.productionDbCS = ((System.Windows.Controls.TextBox)(target));
  272. return;
  273. case 16:
  274. this.testPro = ((System.Windows.Controls.Button)(target));
  275. #line 26 "..\..\..\Settings.xaml"
  276. this.testPro.Click += new System.Windows.RoutedEventHandler(this.testPro_Click);
  277. #line default
  278. #line hidden
  279. return;
  280. case 17:
  281. this.grid1 = ((System.Windows.Controls.Grid)(target));
  282. return;
  283. case 18:
  284. this.label6 = ((System.Windows.Controls.Label)(target));
  285. return;
  286. case 19:
  287. this.COMPorts = ((System.Windows.Controls.ComboBox)(target));
  288. return;
  289. case 20:
  290. this.label4 = ((System.Windows.Controls.Label)(target));
  291. return;
  292. case 21:
  293. this.baudRate = ((System.Windows.Controls.ComboBox)(target));
  294. return;
  295. case 22:
  296. this.label5 = ((System.Windows.Controls.Label)(target));
  297. return;
  298. case 23:
  299. this.parity = ((System.Windows.Controls.ComboBox)(target));
  300. return;
  301. case 24:
  302. this.label7 = ((System.Windows.Controls.Label)(target));
  303. return;
  304. case 25:
  305. this.dataBits = ((System.Windows.Controls.ComboBox)(target));
  306. return;
  307. case 26:
  308. this.label8 = ((System.Windows.Controls.Label)(target));
  309. return;
  310. case 27:
  311. this.stopBits = ((System.Windows.Controls.ComboBox)(target));
  312. return;
  313. case 28:
  314. this.portTest = ((System.Windows.Controls.Button)(target));
  315. #line 64 "..\..\..\Settings.xaml"
  316. this.portTest.Click += new System.Windows.RoutedEventHandler(this.portTest_Click);
  317. #line default
  318. #line hidden
  319. return;
  320. case 29:
  321. this.save = ((System.Windows.Controls.Button)(target));
  322. #line 68 "..\..\..\Settings.xaml"
  323. this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);
  324. #line default
  325. #line hidden
  326. return;
  327. case 30:
  328. this.button2 = ((System.Windows.Controls.Button)(target));
  329. return;
  330. }
  331. this._contentLoaded = true;
  332. }
  333. }
  334. }