| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- #pragma checksum "..\..\..\..\Views\AiChatWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A6EE6EA49866A956430BDD6759564044B24B328D"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using HandyControl.Controls;
- using HandyControl.Data;
- using HandyControl.Expression.Media;
- using HandyControl.Expression.Shapes;
- using HandyControl.Interactivity;
- using HandyControl.Media.Animation;
- using HandyControl.Media.Effects;
- using HandyControl.Properties.Langs;
- using HandyControl.Themes;
- using HandyControl.Tools;
- using HandyControl.Tools.Converter;
- using HandyControl.Tools.Extension;
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Controls.Ribbon;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Forms.Integration;
- 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;
- namespace LocalizationTool.Views {
-
-
- /// <summary>
- /// AiChatWindow
- /// </summary>
- public partial class AiChatWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-
- #line 18 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox CmbPermission;
-
- #line default
- #line hidden
-
-
- #line 34 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtSystemPrompt;
-
- #line default
- #line hidden
-
-
- #line 40 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ScrollViewer ChatScroll;
-
- #line default
- #line hidden
-
-
- #line 42 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.StackPanel ChatPanel;
-
- #line default
- #line hidden
-
-
- #line 49 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnCompressContext;
-
- #line default
- #line hidden
-
-
- #line 52 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock TxtContextUsage;
-
- #line default
- #line hidden
-
-
- #line 54 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ProgressBar ProgressContext;
-
- #line default
- #line hidden
-
-
- #line 59 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox CmbQuickPrompts;
-
- #line default
- #line hidden
-
-
- #line 65 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnSend;
-
- #line default
- #line hidden
-
-
- #line 67 "..\..\..\..\Views\AiChatWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtInput;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/LocalizationTool;component/views/aichatwindow.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\Views\AiChatWindow.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- [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.CmbPermission = ((System.Windows.Controls.ComboBox)(target));
-
- #line 19 "..\..\..\..\Views\AiChatWindow.xaml"
- this.CmbPermission.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbPermission_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 2:
-
- #line 26 "..\..\..\..\Views\AiChatWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnResetPrompt_Click);
-
- #line default
- #line hidden
- return;
- case 3:
-
- #line 29 "..\..\..\..\Views\AiChatWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSavePrompt_Click);
-
- #line default
- #line hidden
- return;
- case 4:
- this.TxtSystemPrompt = ((System.Windows.Controls.TextBox)(target));
- return;
- case 5:
- this.ChatScroll = ((System.Windows.Controls.ScrollViewer)(target));
- return;
- case 6:
- this.ChatPanel = ((System.Windows.Controls.StackPanel)(target));
- return;
- case 7:
- this.BtnCompressContext = ((System.Windows.Controls.Button)(target));
-
- #line 51 "..\..\..\..\Views\AiChatWindow.xaml"
- this.BtnCompressContext.Click += new System.Windows.RoutedEventHandler(this.BtnCompressContext_Click);
-
- #line default
- #line hidden
- return;
- case 8:
- this.TxtContextUsage = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 9:
- this.ProgressContext = ((System.Windows.Controls.ProgressBar)(target));
- return;
- case 10:
- this.CmbQuickPrompts = ((System.Windows.Controls.ComboBox)(target));
-
- #line 60 "..\..\..\..\Views\AiChatWindow.xaml"
- this.CmbQuickPrompts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbQuickPrompts_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 11:
- this.BtnSend = ((System.Windows.Controls.Button)(target));
-
- #line 66 "..\..\..\..\Views\AiChatWindow.xaml"
- this.BtnSend.Click += new System.Windows.RoutedEventHandler(this.BtnSend_Click);
-
- #line default
- #line hidden
- return;
- case 12:
- this.TxtInput = ((System.Windows.Controls.TextBox)(target));
-
- #line 69 "..\..\..\..\Views\AiChatWindow.xaml"
- this.TxtInput.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TxtInput_PreviewKeyDown);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|