e982653efcbedacbfc8c4d170dbc3916d4a42f2663d466dbfd32a8c77e5cbde9.source 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #pragma checksum "..\..\..\..\Views\TranslationSettingsWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C4D4E3D739CA83DFC4925CA6B18BDD77D559F951"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. using HandyControl.Controls;
  11. using HandyControl.Data;
  12. using HandyControl.Expression.Media;
  13. using HandyControl.Expression.Shapes;
  14. using HandyControl.Interactivity;
  15. using HandyControl.Media.Animation;
  16. using HandyControl.Media.Effects;
  17. using HandyControl.Properties.Langs;
  18. using HandyControl.Themes;
  19. using HandyControl.Tools;
  20. using HandyControl.Tools.Converter;
  21. using HandyControl.Tools.Extension;
  22. using System;
  23. using System.Diagnostics;
  24. using System.Windows;
  25. using System.Windows.Automation;
  26. using System.Windows.Controls;
  27. using System.Windows.Controls.Primitives;
  28. using System.Windows.Controls.Ribbon;
  29. using System.Windows.Data;
  30. using System.Windows.Documents;
  31. using System.Windows.Forms.Integration;
  32. using System.Windows.Ink;
  33. using System.Windows.Input;
  34. using System.Windows.Markup;
  35. using System.Windows.Media;
  36. using System.Windows.Media.Animation;
  37. using System.Windows.Media.Effects;
  38. using System.Windows.Media.Imaging;
  39. using System.Windows.Media.Media3D;
  40. using System.Windows.Media.TextFormatting;
  41. using System.Windows.Navigation;
  42. using System.Windows.Shapes;
  43. using System.Windows.Shell;
  44. namespace LocalizationTool.Views {
  45. /// <summary>
  46. /// TranslationSettingsWindow
  47. /// </summary>
  48. public partial class TranslationSettingsWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  49. #line 56 "..\..\..\..\Views\TranslationSettingsWindow.xaml"
  50. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  51. internal System.Windows.Controls.PasswordBox TxtOpenAIKey;
  52. #line default
  53. #line hidden
  54. #line 82 "..\..\..\..\Views\TranslationSettingsWindow.xaml"
  55. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  56. internal System.Windows.Controls.PasswordBox TxtBaiduSecret;
  57. #line default
  58. #line hidden
  59. private bool _contentLoaded;
  60. /// <summary>
  61. /// InitializeComponent
  62. /// </summary>
  63. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  64. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  65. public void InitializeComponent() {
  66. if (_contentLoaded) {
  67. return;
  68. }
  69. _contentLoaded = true;
  70. System.Uri resourceLocater = new System.Uri("/LocalizationTool;component/views/translationsettingswindow.xaml", System.UriKind.Relative);
  71. #line 1 "..\..\..\..\Views\TranslationSettingsWindow.xaml"
  72. System.Windows.Application.LoadComponent(this, resourceLocater);
  73. #line default
  74. #line hidden
  75. }
  76. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  77. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  78. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  80. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  81. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  82. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  83. switch (connectionId)
  84. {
  85. case 1:
  86. this.TxtOpenAIKey = ((System.Windows.Controls.PasswordBox)(target));
  87. #line 57 "..\..\..\..\Views\TranslationSettingsWindow.xaml"
  88. this.TxtOpenAIKey.PasswordChanged += new System.Windows.RoutedEventHandler(this.OpenAiKey_PasswordChanged);
  89. #line default
  90. #line hidden
  91. return;
  92. case 2:
  93. this.TxtBaiduSecret = ((System.Windows.Controls.PasswordBox)(target));
  94. #line 83 "..\..\..\..\Views\TranslationSettingsWindow.xaml"
  95. this.TxtBaiduSecret.PasswordChanged += new System.Windows.RoutedEventHandler(this.BaiduSecret_PasswordChanged);
  96. #line default
  97. #line hidden
  98. return;
  99. }
  100. this._contentLoaded = true;
  101. }
  102. }
  103. }