197 lines
7.2 KiB
C#
197 lines
7.2 KiB
C#
#pragma checksum "..\..\search.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6E132D6300707894C45E0A897BCDEA5EA6DFFC44267BB6AEE6264D41DA29661A"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// Ten kod został wygenerowany przez narzędzie.
|
|
// Wersja wykonawcza:4.0.30319.42000
|
|
//
|
|
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
|
|
// kod zostanie ponownie wygenerowany.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using DesktopSearchEngine;
|
|
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 DesktopSearchEngine {
|
|
|
|
|
|
/// <summary>
|
|
/// search
|
|
/// </summary>
|
|
public partial class search : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 17 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox textBox1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 24 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem google;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 25 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem duckduckgo;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 26 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem bing;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 27 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem yahoo;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 29 "..\..\search.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem addAutostart;
|
|
|
|
#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("/DesktopSearchEngine;component/search.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\search.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.textBox1 = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 17 "..\..\search.xaml"
|
|
this.textBox1.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.google = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
#line 24 "..\..\search.xaml"
|
|
this.google.Checked += new System.Windows.RoutedEventHandler(this.checkedGoogle);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.duckduckgo = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
#line 25 "..\..\search.xaml"
|
|
this.duckduckgo.Checked += new System.Windows.RoutedEventHandler(this.checkedDuckDuckGo);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.bing = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
#line 26 "..\..\search.xaml"
|
|
this.bing.Checked += new System.Windows.RoutedEventHandler(this.checkedBing);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.yahoo = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
#line 27 "..\..\search.xaml"
|
|
this.yahoo.Checked += new System.Windows.RoutedEventHandler(this.checkedYahoo);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.addAutostart = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
#line 29 "..\..\search.xaml"
|
|
this.addAutostart.Click += new System.Windows.RoutedEventHandler(this.addToAutostart);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
|
|
#line 30 "..\..\search.xaml"
|
|
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.closeIt);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 8:
|
|
|
|
#line 32 "..\..\search.xaml"
|
|
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|