W pełni działający
This commit is contained in:
Binary file not shown.
@@ -11,19 +11,7 @@
|
||||
<userSettings>
|
||||
<DesktopSearchEngine.Properties.Settings>
|
||||
<setting name="DefaultSearch" serializeAs="String">
|
||||
<value>google</value>
|
||||
</setting>
|
||||
<setting name="dsgoogle" serializeAs="String">
|
||||
<value>https://google.com/search?q=</value>
|
||||
</setting>
|
||||
<setting name="dsduckduckgo" serializeAs="String">
|
||||
<value>https://duckduckgo.com/?q=</value>
|
||||
</setting>
|
||||
<setting name="dsbing" serializeAs="String">
|
||||
<value>https://www.bing.com/search?q=</value>
|
||||
</setting>
|
||||
<setting name="dsyahoo" serializeAs="String">
|
||||
<value>https://search.yahoo.com/search?p=</value>
|
||||
<value>Google</value>
|
||||
</setting>
|
||||
</DesktopSearchEngine.Properties.Settings>
|
||||
</userSettings>
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
xmlns:local="clr-namespace:DesktopSearchEngine"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
|
||||
@@ -6,6 +6,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Drawing;
|
||||
using System.Reflection;
|
||||
|
||||
namespace DesktopSearchEngine
|
||||
{
|
||||
@@ -15,20 +16,13 @@ namespace DesktopSearchEngine
|
||||
public partial class App : Application
|
||||
{
|
||||
System.Windows.Forms.NotifyIcon nIcon = new System.Windows.Forms.NotifyIcon();
|
||||
System.Windows.Forms.ContextMenu contextMenuStrip = new System.Windows.Forms.ContextMenu();
|
||||
|
||||
public App()
|
||||
{
|
||||
nIcon.Icon = new Icon(@"icon.ico");
|
||||
nIcon.Icon = Icon.ExtractAssociatedIcon(Assembly.GetEntryAssembly().ManifestModule.Name);
|
||||
nIcon.Text = "Włącz wyszukiwarkę";
|
||||
nIcon.Visible = true;
|
||||
nIcon.ShowBalloonTip(5000, "Title", "Text", System.Windows.Forms.ToolTipIcon.Info);
|
||||
nIcon.Click += nIcon_Click;
|
||||
nIcon.ContextMenu = contextMenuStrip;
|
||||
contextMenuStrip.MenuItems.Add("Wybierz główną wyszukiwarkę");
|
||||
contextMenuStrip.MenuItems.Add("Google", setGoogle);
|
||||
contextMenuStrip.MenuItems.Add("DuckDuckGo", setDuckDuckGo);
|
||||
contextMenuStrip.MenuItems.Add("Bing", setBing);
|
||||
contextMenuStrip.MenuItems.Add("Yahoo", setYahoo);
|
||||
|
||||
}
|
||||
|
||||
void nIcon_Click(object sender, EventArgs e)
|
||||
@@ -36,10 +30,5 @@ namespace DesktopSearchEngine
|
||||
search search = new search();
|
||||
search.Show();
|
||||
}
|
||||
|
||||
void setGoogle(object sender, EventArgs e) { DesktopSearchEngine.Properties.Settings.Default.DefaultSearch = "google"; }
|
||||
void setDuckDuckGo(object sender, EventArgs e) { DesktopSearchEngine.Properties.Settings.Default.DefaultSearch = "duckduckgo"; }
|
||||
void setBing(object sender, EventArgs e) { DesktopSearchEngine.Properties.Settings.Default.DefaultSearch = "bing"; }
|
||||
void setYahoo(object sender, EventArgs e) { DesktopSearchEngine.Properties.Settings.Default.DefaultSearch = "yahoo"; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
<PropertyGroup>
|
||||
<StartupObject>DesktopSearchEngine.App</StartupObject>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
@@ -70,12 +73,6 @@
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
@@ -99,9 +96,6 @@
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
@@ -117,5 +111,28 @@
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="icon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="IWshRuntimeLibrary">
|
||||
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
|
||||
<VersionMajor>1</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>tlbimp</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
<COMReference Include="Shell32">
|
||||
<Guid>{50A7E9B0-70EF-11D1-B75A-00A0C90564FE}</Guid>
|
||||
<VersionMajor>1</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>tlbimp</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,51 +0,0 @@
|
||||
|
||||
namespace DesktopSearchEngine
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Name = "Form1";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Form1";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace DesktopSearchEngine
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -7,12 +7,12 @@ using System.Windows;
|
||||
// Ogólne informacje o zestawie są kontrolowane poprzez następujący
|
||||
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje
|
||||
// powiązane z zestawem.
|
||||
[assembly: AssemblyTitle("DesktopSearchEngine")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyTitle("DesktopSearcher")]
|
||||
[assembly: AssemblyDescription("Wyszukiwarka internetowa na pulpit.")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")]
|
||||
[assembly: AssemblyProduct("DesktopSearchEngine")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[assembly: AssemblyCopyright("Copyright © Krzysztof Smaga 2020")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace DesktopSearchEngine.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("google")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Google")]
|
||||
public string DefaultSearch {
|
||||
get {
|
||||
return ((string)(this["DefaultSearch"]));
|
||||
@@ -34,53 +34,5 @@ namespace DesktopSearchEngine.Properties {
|
||||
this["DefaultSearch"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://google.com/search?q=")]
|
||||
public string dsgoogle {
|
||||
get {
|
||||
return ((string)(this["dsgoogle"]));
|
||||
}
|
||||
set {
|
||||
this["dsgoogle"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://duckduckgo.com/?q=")]
|
||||
public string dsduckduckgo {
|
||||
get {
|
||||
return ((string)(this["dsduckduckgo"]));
|
||||
}
|
||||
set {
|
||||
this["dsduckduckgo"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://www.bing.com/search?q=")]
|
||||
public string dsbing {
|
||||
get {
|
||||
return ((string)(this["dsbing"]));
|
||||
}
|
||||
set {
|
||||
this["dsbing"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://search.yahoo.com/search?p=")]
|
||||
public string dsyahoo {
|
||||
get {
|
||||
return ((string)(this["dsyahoo"]));
|
||||
}
|
||||
set {
|
||||
this["dsyahoo"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,19 +3,7 @@
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="DefaultSearch" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">google</Value>
|
||||
</Setting>
|
||||
<Setting Name="dsgoogle" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://google.com/search?q=</Value>
|
||||
</Setting>
|
||||
<Setting Name="dsduckduckgo" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://duckduckgo.com/?q=</Value>
|
||||
</Setting>
|
||||
<Setting Name="dsbing" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://www.bing.com/search?q=</Value>
|
||||
</Setting>
|
||||
<Setting Name="dsyahoo" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://search.yahoo.com/search?p=</Value>
|
||||
<Value Profile="(Default)">Google</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Binary file not shown.
@@ -11,19 +11,10 @@
|
||||
<userSettings>
|
||||
<DesktopSearchEngine.Properties.Settings>
|
||||
<setting name="DefaultSearch" serializeAs="String">
|
||||
<value>google</value>
|
||||
<value>Google</value>
|
||||
</setting>
|
||||
<setting name="dsgoogle" serializeAs="String">
|
||||
<value>https://google.com/search?q=</value>
|
||||
</setting>
|
||||
<setting name="dsduckduckgo" serializeAs="String">
|
||||
<value>https://duckduckgo.com/?q=</value>
|
||||
</setting>
|
||||
<setting name="dsbing" serializeAs="String">
|
||||
<value>https://www.bing.com/search?q=</value>
|
||||
</setting>
|
||||
<setting name="dsyahoo" serializeAs="String">
|
||||
<value>https://search.yahoo.com/search?p=</value>
|
||||
<setting name="addedToAutostart" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</DesktopSearchEngine.Properties.Settings>
|
||||
</userSettings>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="DesktopSearchEngine.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<DesktopSearchEngine.Properties.Settings>
|
||||
<setting name="DefaultSearch" serializeAs="String">
|
||||
<value>Google</value>
|
||||
</setting>
|
||||
</DesktopSearchEngine.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
DesktopSearcher 1.0.0
|
||||
Pierwsze wydanie programu
|
||||
|
||||
Wydawca: Krzysztof 'KrzysiekSiemv' Smaga
|
||||
===========================================
|
||||
Pierwsze uruchomienie.
|
||||
|
||||
Aby ukazał nam się pasek wyszukiwania, naciśnij na ikonę wyszukiwania, która pojawia się w pasku powiadomień z prawej strony.
|
||||
Aby zmienić też ustawienia (główna wyszukiwarka, dodanie do autostartu) naciśnij prawy przycisk myszy na pasek wyszukiwania.
|
||||
|
||||
Jeżeli będą jakieś błędy, wejdź na https://github.com/KrzysiekSiemv/DesktopSearcher/issues i opisz swój błąd. Pamiętaj aby dodać wersję używanego programu.
|
||||
W przyszłym czasie, będą pojawiać się nowe funkcje oraz będą poprawiane błędy.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2FC8D2F053B4A720F5B2511F8323AAFEF49E643D09F6F0FB89627FA772F57911"
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1FBE70DCE60189CD1C733EB1933902D82904A31E0271DBCC484682A5500EA42E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ten kod został wygenerowany przez narzędzie.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2FC8D2F053B4A720F5B2511F8323AAFEF49E643D09F6F0FB89627FA772F57911"
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1FBE70DCE60189CD1C733EB1933902D82904A31E0271DBCC484682A5500EA42E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ten kod został wygenerowany przez narzędzie.
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
a4f7a3eada9e853a4839de5e9e5d9484f06612d9
|
||||
bfaf8a8777d4dae60e72b1e52331719005478c3b
|
||||
|
||||
+20
@@ -16,3 +16,23 @@ C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.Form1.resources
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\search.g.cs
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\search.baml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.csprojAssemblyReference.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\MainWindow.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\search.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\App.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine_MarkupCompile.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine_MarkupCompile.lref
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.exe
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.pdb
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Debug\DesktopSearchEngine.exe.config
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Debug\DesktopSearchEngine.exe
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\MainWindow.baml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\search.baml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.g.resources
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.Properties.Resources.resources
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.csproj.GenerateResource.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Debug\DesktopSearchEngine.pdb
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\Interop.IWshRuntimeLibrary.dll
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\Interop.Shell32.dll
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\DesktopSearchEngine.csproj.ResolveComReference.cache
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("icon.ico")]
|
||||
|
||||
|
||||
+4
-4
@@ -4,16 +4,16 @@
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\
|
||||
DesktopSearchEngine
|
||||
none
|
||||
false
|
||||
DEBUG;TRACE
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\App.xaml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\App.xaml
|
||||
21995234448
|
||||
|
||||
8410157616
|
||||
151270957945
|
||||
6920054451
|
||||
17-927394347
|
||||
MainWindow.xaml;search.xaml;
|
||||
|
||||
False
|
||||
|
||||
+5
-5
@@ -4,17 +4,17 @@
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Debug\
|
||||
DesktopSearchEngine
|
||||
none
|
||||
false
|
||||
DEBUG;TRACE
|
||||
C:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\App.xaml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\App.xaml
|
||||
21995234448
|
||||
|
||||
9962543813
|
||||
151270957945
|
||||
71472440648
|
||||
17-927394347
|
||||
MainWindow.xaml;search.xaml;
|
||||
|
||||
True
|
||||
False
|
||||
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
|
||||
|
||||
FC:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\search.xaml;;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
|
||||
|
||||
FC:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\MainWindow.xaml;;
|
||||
FC:\Users\Krzysiek\source\repos\DesktopSearchEngine\DesktopSearchEngine\search.xaml;;
|
||||
FC:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\MainWindow.xaml;;
|
||||
FC:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\search.xaml;;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\search.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D624408AA6CF35E842F4DC89FD52A7DB74CC9ED3804EC77D321AD9BE67FAF9B7"
|
||||
#pragma checksum "..\..\search.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6E132D6300707894C45E0A897BCDEA5EA6DFFC44267BB6AEE6264D41DA29661A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ten kod został wygenerowany przez narzędzie.
|
||||
@@ -48,6 +48,46 @@ namespace DesktopSearchEngine {
|
||||
#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>
|
||||
@@ -82,13 +122,68 @@ namespace DesktopSearchEngine {
|
||||
this.textBox1 = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 17 "..\..\search.xaml"
|
||||
this.textBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
|
||||
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 17 "..\..\search.xaml"
|
||||
this.textBox1.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);
|
||||
#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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\search.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D624408AA6CF35E842F4DC89FD52A7DB74CC9ED3804EC77D321AD9BE67FAF9B7"
|
||||
#pragma checksum "..\..\search.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6E132D6300707894C45E0A897BCDEA5EA6DFFC44267BB6AEE6264D41DA29661A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ten kod został wygenerowany przez narzędzie.
|
||||
@@ -48,6 +48,46 @@ namespace DesktopSearchEngine {
|
||||
#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>
|
||||
@@ -82,13 +122,68 @@ namespace DesktopSearchEngine {
|
||||
this.textBox1 = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 17 "..\..\search.xaml"
|
||||
this.textBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
|
||||
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 17 "..\..\search.xaml"
|
||||
this.textBox1.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);
|
||||
#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
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
||||
@@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1FBE70DCE60189CD1C733EB1933902D82904A31E0271DBCC484682A5500EA42E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
DesktopSearchEngine.App app = new DesktopSearchEngine.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1FBE70DCE60189CD1C733EB1933902D82904A31E0271DBCC484682A5500EA42E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
DesktopSearchEngine.App app = new DesktopSearchEngine.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
34e7101d3d8256535529f8d1b55a05554cf927f6
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.csprojAssemblyReference.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\Interop.IWshRuntimeLibrary.dll
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\Interop.Shell32.dll
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.csproj.ResolveComReference.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\MainWindow.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\search.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\App.g.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine_MarkupCompile.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine_MarkupCompile.lref
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Release\DesktopSearchEngine.exe.config
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Release\DesktopSearchEngine.exe
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\bin\Release\DesktopSearchEngine.pdb
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\MainWindow.baml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\search.baml
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.g.resources
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.Properties.Resources.resources
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.csproj.GenerateResource.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.exe
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\DesktopSearchEngine.pdb
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+20
@@ -0,0 +1,20 @@
|
||||
DesktopSearchEngine
|
||||
|
||||
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\obj\Release\
|
||||
DesktopSearchEngine
|
||||
none
|
||||
false
|
||||
TRACE
|
||||
C:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\App.xaml
|
||||
21995234448
|
||||
|
||||
6920054451
|
||||
171418542459
|
||||
MainWindow.xaml;search.xaml;
|
||||
|
||||
False
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
FC:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\MainWindow.xaml;;
|
||||
FC:\Users\Krzysiek\Documents\GitHub\DesktopSearcher\DesktopSearchEngine\DesktopSearchEngine\search.xaml;;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,86 @@
|
||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BE1D351DF386F0724D5ECD811F89988634548788E4E430CACD020A60DBA269CD"
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
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/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\MainWindow.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:
|
||||
|
||||
#line 8 "..\..\MainWindow.xaml"
|
||||
((DesktopSearchEngine.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BE1D351DF386F0724D5ECD811F89988634548788E4E430CACD020A60DBA269CD"
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
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/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\MainWindow.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:
|
||||
|
||||
#line 8 "..\..\MainWindow.xaml"
|
||||
((DesktopSearchEngine.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,196 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,196 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:DesktopSearchEngine"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800" WindowState="Maximized" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" Background="#00000000" ShowInTaskbar="False">
|
||||
Title="Wyszukiwarka" Height="450" Width="800" WindowState="Maximized" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" Background="#00000000" ShowInTaskbar="False">
|
||||
<Window.Resources>
|
||||
<ControlTemplate x:Key="textBox" TargetType="{x:Type TextBox}">
|
||||
<Border Background="{TemplateBinding Background}" x:Name="Bd" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="8">
|
||||
@@ -14,11 +14,24 @@
|
||||
</ControlTemplate>
|
||||
</Window.Resources>
|
||||
<Grid>
|
||||
<TextBox Template="{StaticResource textBox}" Name="textBox1" HorizontalAlignment="Center" Height="56" Margin="0,-200,0,0" TextWrapping="Wrap" Text="Szukaj..." VerticalAlignment="Center" Width="600" VerticalContentAlignment="Center" Background="#BFF0F0F0" Padding="16,0,0,0" FontFamily="Nirmala UI" FontSize="20" TextChanged="TextBox_TextChanged" KeyUp="TextBox_KeyUp">
|
||||
<TextBox Template="{StaticResource textBox}" Name="textBox1" HorizontalAlignment="Center" Height="56" Margin="0,-200,0,0" TextWrapping="Wrap" Text="Szukaj..." VerticalAlignment="Center" Width="600" VerticalContentAlignment="Center" Background="#BFF0F0F0" Padding="16,0,0,0" FontFamily="Nirmala UI" FontSize="20" KeyUp="TextBox_KeyUp">
|
||||
<TextBox.Effect>
|
||||
<DropShadowEffect ShadowDepth="1" Color="Black" Opacity="0.6" RenderingBias="Performance"/>
|
||||
</TextBox.Effect>
|
||||
<TextBox.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="Wybierz domyślną przeglądarkę" IsEnabled="False"/>
|
||||
<MenuItem Header="Google" IsChecked="False" IsCheckable="True" Checked="checkedGoogle" Name="google" />
|
||||
<MenuItem Header="DuckDuckGo" IsChecked="False" IsCheckable="True" Checked="checkedDuckDuckGo" Name="duckduckgo"/>
|
||||
<MenuItem Header="Bing" IsChecked="False" IsCheckable="True" Checked="checkedBing" Name="bing"/>
|
||||
<MenuItem Header="Yahoo!" IsChecked="False" IsCheckable="True" Checked="checkedYahoo" Name="yahoo"/>
|
||||
<Separator />
|
||||
<MenuItem Header="Dodaj do autostartu" Click="addToAutostart" Name="addAutostart"/>
|
||||
<MenuItem Header="Zamknij" Click="closeIt" />
|
||||
<Separator />
|
||||
<MenuItem Header="Stworzone przez KrzysiekSiemv" Click="MenuItem_Click"/>
|
||||
</ContextMenu>
|
||||
</TextBox.ContextMenu>
|
||||
</TextBox>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
@@ -12,6 +12,9 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using System.Diagnostics;
|
||||
using IWshRuntimeLibrary;
|
||||
using Shell32;
|
||||
using System.IO;
|
||||
|
||||
namespace DesktopSearchEngine
|
||||
{
|
||||
@@ -23,29 +26,86 @@ namespace DesktopSearchEngine
|
||||
public search()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
|
||||
textBox1.Text = "Szukaj w " + Properties.Settings.Default.DefaultSearch + "...";
|
||||
}
|
||||
|
||||
private void TextBox_KeyUp(object sender, KeyEventArgs e)
|
||||
{
|
||||
|
||||
{
|
||||
if (e.Key == Key.Enter)
|
||||
{
|
||||
if (Properties.Settings.Default.DefaultSearch == "google")
|
||||
if (Properties.Settings.Default.DefaultSearch == "Google")
|
||||
Process.Start("https://google.com/search?q=" + textBox1.Text);
|
||||
else if (Properties.Settings.Default.DefaultSearch == "duckduckgo")
|
||||
else if (Properties.Settings.Default.DefaultSearch == "DuckDuckGo")
|
||||
Process.Start("https://duckduckgo.com/?q=" + textBox1.Text);
|
||||
else if (Properties.Settings.Default.DefaultSearch == "bing")
|
||||
else if (Properties.Settings.Default.DefaultSearch == "Bing")
|
||||
Process.Start("https://www.bing.com/search?q=" + textBox1.Text);
|
||||
else if (Properties.Settings.Default.DefaultSearch == "yahoo")
|
||||
else if (Properties.Settings.Default.DefaultSearch == "Yahoo")
|
||||
Process.Start("https://search.yahoo.com/search?p=" + textBox1.Text);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private void closeIt(object sender, RoutedEventArgs e) { Application.Current.Shutdown(); }
|
||||
|
||||
private void addToAutostart(object sender, RoutedEventArgs e)
|
||||
{
|
||||
IWshShell_Class wshShell = new IWshShell_Class();
|
||||
IWshShortcut shortcut;
|
||||
string startup = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
|
||||
|
||||
// Create the shortcut
|
||||
shortcut = (IWshShortcut)wshShell.CreateShortcut(startup + "\\" + "DesktopSearcher.lnk");
|
||||
|
||||
shortcut.TargetPath = System.Reflection.Assembly.GetExecutingAssembly().Location;
|
||||
shortcut.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
||||
shortcut.Description = "Uruchom DesktopSearcher";
|
||||
shortcut.IconLocation = AppDomain.CurrentDomain.BaseDirectory + @"\icon.ico";
|
||||
shortcut.Save();
|
||||
|
||||
MessageBox.Show("Plik dodano do autostartu! Aby jednak usunąć plik z autostartu, wejdź do: " + startup + " i usuń plik: DesktopSearcher.lnk", "Pomyślnie dodano!", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
}
|
||||
|
||||
private void checkedGoogle(object sender, RoutedEventArgs e)
|
||||
{
|
||||
duckduckgo.IsChecked = false;
|
||||
bing.IsChecked = false;
|
||||
yahoo.IsChecked = false;
|
||||
textBox1.Text = "Szukaj w Google";
|
||||
Properties.Settings.Default.DefaultSearch = "Google";
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void checkedDuckDuckGo(object sender, RoutedEventArgs e)
|
||||
{
|
||||
google.IsChecked = false;
|
||||
bing.IsChecked = false;
|
||||
yahoo.IsChecked = false;
|
||||
textBox1.Text = "Szukaj w DuckDuckGo";
|
||||
Properties.Settings.Default.DefaultSearch = "DuckDuckGo";
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void checkedBing(object sender, RoutedEventArgs e)
|
||||
{
|
||||
duckduckgo.IsChecked = false;
|
||||
google.IsChecked = false;
|
||||
yahoo.IsChecked = false;
|
||||
textBox1.Text = "Szukaj w Bing";
|
||||
Properties.Settings.Default.DefaultSearch = "Bing";
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void checkedYahoo(object sender, RoutedEventArgs e)
|
||||
{
|
||||
google.IsChecked = false;
|
||||
bing.IsChecked = false;
|
||||
duckduckgo.IsChecked = false;
|
||||
textBox1.Text = "Szukaj w Yahoo";
|
||||
Properties.Settings.Default.DefaultSearch = "Yahoo";
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void MenuItem_Click(object sender, RoutedEventArgs e) { Process.Start("https://github.com/KrzysiekSiemv"); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user