| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- #pragma checksum "..\..\..\Settings.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F6B842C535BDFE77E9619E5376B559EC"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.235
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Markup;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Media.Effects;
- using System.Windows.Media.Imaging;
- using System.Windows.Media.Media3D;
- using System.Windows.Media.TextFormatting;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.Windows.Shell;
- using WpfLocalization;
- namespace WpfApplication19 {
-
-
- /// <summary>
- /// Settings
- /// </summary>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public partial class Settings : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-
- #line 4 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal WpfApplication19.Settings SettingWindow;
-
- #line default
- #line hidden
-
-
- #line 10 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TabControl tabControl1;
-
- #line default
- #line hidden
-
-
- #line 11 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TabItem tabItem1;
-
- #line default
- #line hidden
-
-
- #line 13 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.GroupBox groupBox1;
-
- #line default
- #line hidden
-
-
- #line 15 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label1;
-
- #line default
- #line hidden
-
-
- #line 16 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox configDbCs;
-
- #line default
- #line hidden
-
-
- #line 17 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label2;
-
- #line default
- #line hidden
-
-
- #line 18 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox masterDbCs;
-
- #line default
- #line hidden
-
-
- #line 19 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label3;
-
- #line default
- #line hidden
-
-
- #line 20 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox transDbCs;
-
- #line default
- #line hidden
-
-
- #line 21 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button testConfig;
-
- #line default
- #line hidden
-
-
- #line 22 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button testMaster;
-
- #line default
- #line hidden
-
-
- #line 23 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button testTrans;
-
- #line default
- #line hidden
-
-
- #line 24 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label9;
-
- #line default
- #line hidden
-
-
- #line 25 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox productionDbCS;
-
- #line default
- #line hidden
-
-
- #line 26 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button testPro;
-
- #line default
- #line hidden
-
-
- #line 32 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid grid1;
-
- #line default
- #line hidden
-
-
- #line 33 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label6;
-
- #line default
- #line hidden
-
-
- #line 34 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox COMPorts;
-
- #line default
- #line hidden
-
-
- #line 35 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label4;
-
- #line default
- #line hidden
-
-
- #line 36 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox baudRate;
-
- #line default
- #line hidden
-
-
- #line 46 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label5;
-
- #line default
- #line hidden
-
-
- #line 47 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox parity;
-
- #line default
- #line hidden
-
-
- #line 52 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label7;
-
- #line default
- #line hidden
-
-
- #line 53 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox dataBits;
-
- #line default
- #line hidden
-
-
- #line 58 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Label label8;
-
- #line default
- #line hidden
-
-
- #line 59 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox stopBits;
-
- #line default
- #line hidden
-
-
- #line 64 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button portTest;
-
- #line default
- #line hidden
-
-
- #line 68 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button save;
-
- #line default
- #line hidden
-
-
- #line 69 "..\..\..\Settings.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button button2;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/WpfApplication19;component/settings.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\Settings.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.SettingWindow = ((WpfApplication19.Settings)(target));
-
- #line 4 "..\..\..\Settings.xaml"
- this.SettingWindow.Loaded += new System.Windows.RoutedEventHandler(this.init);
-
- #line default
- #line hidden
- return;
- case 2:
- this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
- return;
- case 3:
- this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
- return;
- case 4:
- this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
- return;
- case 5:
- this.label1 = ((System.Windows.Controls.Label)(target));
- return;
- case 6:
- this.configDbCs = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
- this.label2 = ((System.Windows.Controls.Label)(target));
- return;
- case 8:
- this.masterDbCs = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.label3 = ((System.Windows.Controls.Label)(target));
- return;
- case 10:
- this.transDbCs = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.testConfig = ((System.Windows.Controls.Button)(target));
-
- #line 21 "..\..\..\Settings.xaml"
- this.testConfig.Click += new System.Windows.RoutedEventHandler(this.testConfig_Click);
-
- #line default
- #line hidden
- return;
- case 12:
- this.testMaster = ((System.Windows.Controls.Button)(target));
-
- #line 22 "..\..\..\Settings.xaml"
- this.testMaster.Click += new System.Windows.RoutedEventHandler(this.testMaster_Click);
-
- #line default
- #line hidden
- return;
- case 13:
- this.testTrans = ((System.Windows.Controls.Button)(target));
-
- #line 23 "..\..\..\Settings.xaml"
- this.testTrans.Click += new System.Windows.RoutedEventHandler(this.testTrans_Click);
-
- #line default
- #line hidden
- return;
- case 14:
- this.label9 = ((System.Windows.Controls.Label)(target));
- return;
- case 15:
- this.productionDbCS = ((System.Windows.Controls.TextBox)(target));
- return;
- case 16:
- this.testPro = ((System.Windows.Controls.Button)(target));
-
- #line 26 "..\..\..\Settings.xaml"
- this.testPro.Click += new System.Windows.RoutedEventHandler(this.testPro_Click);
-
- #line default
- #line hidden
- return;
- case 17:
- this.grid1 = ((System.Windows.Controls.Grid)(target));
- return;
- case 18:
- this.label6 = ((System.Windows.Controls.Label)(target));
- return;
- case 19:
- this.COMPorts = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 20:
- this.label4 = ((System.Windows.Controls.Label)(target));
- return;
- case 21:
- this.baudRate = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 22:
- this.label5 = ((System.Windows.Controls.Label)(target));
- return;
- case 23:
- this.parity = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 24:
- this.label7 = ((System.Windows.Controls.Label)(target));
- return;
- case 25:
- this.dataBits = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 26:
- this.label8 = ((System.Windows.Controls.Label)(target));
- return;
- case 27:
- this.stopBits = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 28:
- this.portTest = ((System.Windows.Controls.Button)(target));
-
- #line 64 "..\..\..\Settings.xaml"
- this.portTest.Click += new System.Windows.RoutedEventHandler(this.portTest_Click);
-
- #line default
- #line hidden
- return;
- case 29:
- this.save = ((System.Windows.Controls.Button)(target));
-
- #line 68 "..\..\..\Settings.xaml"
- this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);
-
- #line default
- #line hidden
- return;
- case 30:
- this.button2 = ((System.Windows.Controls.Button)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|