253 lines
9.9 KiB
C#
253 lines
9.9 KiB
C#
#pragma checksum "..\..\..\windows\settings.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "498B0C1E86941FCC1B9A512DD46CFAB73906A7A9157331AF24D08743E57808E3"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// Этот код создан программой.
|
|
// Исполняемая версия:4.0.30319.42000
|
|
//
|
|
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
|
// повторной генерации кода.
|
|
// </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;
|
|
|
|
|
|
namespace Raton.Windows {
|
|
|
|
|
|
/// <summary>
|
|
/// Settings
|
|
/// </summary>
|
|
public partial class Settings : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 201 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid Root;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 260 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.CheckBox ChkWebhook;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 263 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox TbWebhookUrl;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 290 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.CheckBox ChkBot;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 294 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox TbBotToken;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 296 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox TbChatId;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 302 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnPfp;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 313 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnWallpaper;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 320 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnRemoveWall;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 332 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnDisableRpc;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 341 "..\..\..\windows\settings.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnSave;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/Raton;component/windows/settings.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\windows\settings.xaml"
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.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.Root = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 2:
|
|
this.ChkWebhook = ((System.Windows.Controls.CheckBox)(target));
|
|
|
|
#line 260 "..\..\..\windows\settings.xaml"
|
|
this.ChkWebhook.Checked += new System.Windows.RoutedEventHandler(this.ChkWebhook_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 260 "..\..\..\windows\settings.xaml"
|
|
this.ChkWebhook.Unchecked += new System.Windows.RoutedEventHandler(this.ChkWebhook_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.TbWebhookUrl = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 4:
|
|
this.ChkBot = ((System.Windows.Controls.CheckBox)(target));
|
|
|
|
#line 290 "..\..\..\windows\settings.xaml"
|
|
this.ChkBot.Checked += new System.Windows.RoutedEventHandler(this.ChkBot_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 290 "..\..\..\windows\settings.xaml"
|
|
this.ChkBot.Unchecked += new System.Windows.RoutedEventHandler(this.ChkBot_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.TbBotToken = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 6:
|
|
this.TbChatId = ((System.Windows.Controls.TextBox)(target));
|
|
return;
|
|
case 7:
|
|
this.BtnPfp = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 302 "..\..\..\windows\settings.xaml"
|
|
this.BtnPfp.Click += new System.Windows.RoutedEventHandler(this.BtnPfp_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 8:
|
|
this.BtnWallpaper = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 313 "..\..\..\windows\settings.xaml"
|
|
this.BtnWallpaper.Click += new System.Windows.RoutedEventHandler(this.BtnWallpaper_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 9:
|
|
this.BtnRemoveWall = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 320 "..\..\..\windows\settings.xaml"
|
|
this.BtnRemoveWall.Click += new System.Windows.RoutedEventHandler(this.BtnRemoveWall_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 10:
|
|
this.BtnDisableRpc = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 332 "..\..\..\windows\settings.xaml"
|
|
this.BtnDisableRpc.Click += new System.Windows.RoutedEventHandler(this.BtnDisableRpc_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 11:
|
|
this.BtnSave = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 341 "..\..\..\windows\settings.xaml"
|
|
this.BtnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|