commit 2aef29ef398f55605a71d77aee902fb02943ee7a Author: celisej567 <75926135+celisej567@users.noreply.github.com> Date: Wed Jul 7 12:24:19 2021 +0300 Add files via upload diff --git a/App.config b/App.config new file mode 100644 index 0000000..5754728 --- /dev/null +++ b/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/App.xaml b/App.xaml new file mode 100644 index 0000000..2f74b04 --- /dev/null +++ b/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/App.xaml.cs b/App.xaml.cs new file mode 100644 index 0000000..0f42f37 --- /dev/null +++ b/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Launcher +{ + /// + /// Логика взаимодействия для App.xaml + /// + public partial class App : Application + { + } +} diff --git a/Icons/Exit.xaml b/Icons/Exit.xaml new file mode 100644 index 0000000..e6545ec --- /dev/null +++ b/Icons/Exit.xaml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Icons/Exit.xaml.cs b/Icons/Exit.xaml.cs new file mode 100644 index 0000000..f1c4a05 --- /dev/null +++ b/Icons/Exit.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Launcher.Icons +{ + /// + /// Логика взаимодействия для Exit.xaml + /// + public partial class Exit : UserControl + { + public Exit() + { + InitializeComponent(); + } + } +} diff --git a/Launcher.csproj b/Launcher.csproj new file mode 100644 index 0000000..473710d --- /dev/null +++ b/Launcher.csproj @@ -0,0 +1,112 @@ + + + + + Debug + AnyCPU + {031FC4D6-FF97-47B7-95D9-169ECA3D7EA0} + WinExe + Launcher + Launcher + v4.7.2 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + + + Exit.xaml + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + \ No newline at end of file diff --git a/Launcher.csproj.user b/Launcher.csproj.user new file mode 100644 index 0000000..ca342d1 --- /dev/null +++ b/Launcher.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file diff --git a/MainWindow.xaml b/MainWindow.xaml new file mode 100644 index 0000000..612ca4b --- /dev/null +++ b/MainWindow.xaml @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs new file mode 100644 index 0000000..be83604 --- /dev/null +++ b/MainWindow.xaml.cs @@ -0,0 +1,47 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +using SteamWorkshopLib; + +namespace Launcher +{ + /// + /// Логика взаимодействия для MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + WinResize winResize = new WinResize(this); + } + + private void Exit_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) + { + this.Close(); + } + + private void Label_MouseEnter(object sender, MouseEventArgs e) + { + this.startgame.Foreground = new SolidColorBrush(Color.FromArgb(255, 164, 164, 164)); + } + + private void startgame_MouseLeave(object sender, MouseEventArgs e) + { + this.startgame.Foreground = new SolidColorBrush(Color.FromArgb(255, 230, 230, 230)); + } + } +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6034a9f --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// Общие сведения об этой сборке предоставляются следующим набором +// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("Launcher")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Launcher")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// из модели COM, установите атрибут ComVisible для этого типа в значение true. +[assembly: ComVisible(false)] + +//Чтобы начать создание локализуемых приложений, задайте +//CultureYouAreCodingWith в файле .csproj +//в . Например, при использовании английского (США) +//в своих исходных файлах установите в en-US. Затем отмените преобразование в комментарий +//атрибута NeutralResourceLanguage ниже. Обновите "en-US" в +//строка внизу для обеспечения соответствия настройки UICulture в файле проекта. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам + //(используется, если ресурс не найден на странице, + // или в словарях ресурсов приложения) + ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов + //(используется, если ресурс не найден на странице, + // в приложении или в каких-либо словарях ресурсов для конкретной темы) +)] + + +// Сведения о версии для сборки включают четыре следующих значения: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Номер редакции +// +// Можно задать все значения или принять номера сборки и редакции по умолчанию +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 0000000..02ee323 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// Этот код был создан программным средством. +// Версия среды выполнения: 4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если +// код создан повторно. +// +//------------------------------------------------------------------------------ + + +namespace Launcher.Properties +{ + /// + /// Класс ресурсов со строгим типом для поиска локализованных строк и пр. + /// + // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder + // класс с помощью таких средств, как ResGen или Visual Studio. + // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen + // с параметром /str или заново постройте свой VS-проект. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Возврат кэшированного экземпляра ResourceManager, используемого этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Launcher.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Переопределяет свойство CurrentUICulture текущего потока для всех + /// подстановки ресурсов с помощью этого класса ресурсов со строгим типом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 0000000..9fc0a4d --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + +namespace Launcher.Properties +{ + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 0000000..8f2fd95 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/bin/Debug/Launcher.exe b/bin/Debug/Launcher.exe new file mode 100644 index 0000000..49074d9 Binary files /dev/null and b/bin/Debug/Launcher.exe differ diff --git a/bin/Debug/Launcher.exe.config b/bin/Debug/Launcher.exe.config new file mode 100644 index 0000000..5754728 --- /dev/null +++ b/bin/Debug/Launcher.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bin/Debug/Launcher.pdb b/bin/Debug/Launcher.pdb new file mode 100644 index 0000000..da30289 Binary files /dev/null and b/bin/Debug/Launcher.pdb differ diff --git a/classes/TimerTick.cs b/classes/TimerTick.cs new file mode 100644 index 0000000..d52bc9c --- /dev/null +++ b/classes/TimerTick.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Threading; + +namespace SteamWorkshopLib +{ + public class TimerTick + { + private Task Task_; + private DispatcherTimer DispatcherTimer_; + private int time = 1; + /// + /// Время в миллисекундах. + /// + public int Time + { + get => time; + set + { + time = value <= 0 ? 1 : value; + if (DispatcherTimer_ == null) + return; + Update(); + } + } + private void Update() => DispatcherTimer_.Interval = new TimeSpan(0, 0, 0, 0, time); + /// + /// Подписка на событие. + /// + public event EventHandler Tick; + public TimerTick() => Time = 1; + + /// + /// Запуск таймера в др. потоке. + /// + public void Start() + { + if (DispatcherTimer_ == null || Tick != null) + { + DispatcherTimer_ = new DispatcherTimer(); + DispatcherTimer_.Tick += Tick; + DispatcherTimer_.Interval = new TimeSpan(0, 0, 0, 0, Time); + Task_ = new Task(DispatcherTimer_.Start); + Task_.Start(); + + } + } + /// + /// Остановка таймера и потока. + /// + public void Stop() + { + if (DispatcherTimer_ == null) + return; + DispatcherTimer_.Stop(); + Task_.Wait(); + } + } +} diff --git a/classes/WinResize.cs b/classes/WinResize.cs new file mode 100644 index 0000000..f5c7cac --- /dev/null +++ b/classes/WinResize.cs @@ -0,0 +1,135 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Input; + +namespace SteamWorkshopLib +{ + + public class WinResize + { + Window Wind + { + get; set; + } + + UIElement Element; + TimerTick timerTick = new TimerTick(); + API.Pos poscur; + API.Pos last_poscur; + double Width = 0; + double Height = 0; + private Size resizeSize; + bool isMouseDoun = false; + bool isMouseMoove = false; + public WinResize(Window w) + { + Wind = w; + Width = Wind.Width; + Height = Wind.Height; + timerTick.Tick += (sender, e) => + { + if (Mouse.LeftButton == MouseButtonState.Released) + isMouseDoun = false; + // if (isMouseDoun) + Update(); + Wind.Width = Width < Wind.MinWidth ? Wind.MinWidth + 5 : Width; + Wind.Height = Height < Wind.MinHeight ? Wind.MinHeight + 5 : Height; + }; + Wind.MouseLeftButtonDown += (sender, e) => + { + if (e.LeftButton != MouseButtonState.Pressed) + return; + if (isMouseMoove && isMouseDoun == false) + Wind.DragMove(); + }; + Wind.MouseEnter += (sender, e) => isMouseMoove = true; + Wind.MouseLeave += (sender, e) => isMouseMoove = false; + timerTick.Start(); + } + + public void RightDown(UIElement element) + { + Element = element; + MouseHandlers(Element); + } + + private void MouseHandlers(UIElement element) + { + element.MouseLeftButtonDown += new MouseButtonEventHandler(element_MouseLeftButtonDown); + element.MouseLeftButtonUp += new MouseButtonEventHandler(element_MouseLeftButtonUp); + element.MouseEnter += (sender, e) => + { + Wind.Cursor = Cursors.SizeNWSE; + isMouseMoove = false; + }; + element.MouseLeave += (sender, e) => + { + Wind.Cursor = Cursors.Arrow; + isMouseMoove = true; + }; + } + + private void element_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) + { + isMouseDoun = false; + } + + private void element_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) + { + API.GetCursorPos(out last_poscur); + resizeSize = new Size(Wind.Width, Wind.Height); + isMouseDoun = true; + + } + + public void Update() + { + if (Mouse.LeftButton == MouseButtonState.Released) + isMouseDoun = false; + if (isMouseDoun) + { + API.GetCursorPos(out poscur); + Width = resizeSize.x - (last_poscur.X - poscur.X); + Height = resizeSize.y - (last_poscur.Y - poscur.Y); + } + } + } + public struct Size + { + public Size(double x_ , double y_) + { + x = x_; + y = y_; + } + public double x + { + get;set; + } + public double y + { + get;set; + } + } + public static class API + { + + [DllImport("user32.dll")] + [return: MarshalAs(UnmanagedType.Bool)] + public static extern bool GetCursorPos(out Pos lpPoint); + public struct Pos + { + public int X; + public int Y; + public override string ToString() + { + return $"x:{X} / y:{Y}"; + } + } + } +} + diff --git a/fonts/League Gothic.ttf b/fonts/League Gothic.ttf new file mode 100644 index 0000000..a0abfe9 Binary files /dev/null and b/fonts/League Gothic.ttf differ diff --git a/images/smallroom.png b/images/smallroom.png new file mode 100644 index 0000000..e4ef164 Binary files /dev/null and b/images/smallroom.png differ diff --git a/obj/Debug/App.g.cs b/obj/Debug/App.g.cs new file mode 100644 index 0000000..01bd2f9 --- /dev/null +++ b/obj/Debug/App.g.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7C5E2FF9F65492510D736B4ED422E8EE1C2EB4B7831D986CFFA0C4CFCBF2F4FD" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher; +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 Launcher { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [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 + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + Launcher.App app = new Launcher.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/obj/Debug/App.g.i.cs b/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..01bd2f9 --- /dev/null +++ b/obj/Debug/App.g.i.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7C5E2FF9F65492510D736B4ED422E8EE1C2EB4B7831D986CFFA0C4CFCBF2F4FD" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher; +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 Launcher { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [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 + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + Launcher.App app = new Launcher.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9eabb4b Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/GeneratedInternalTypeHelper.g.cs b/obj/Debug/GeneratedInternalTypeHelper.g.cs new file mode 100644 index 0000000..5685da6 --- /dev/null +++ b/obj/Debug/GeneratedInternalTypeHelper.g.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { + + /// + /// CreateInstance + /// + protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { + return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) + | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); + } + + /// + /// GetPropertyValue + /// + protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { + return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// SetPropertyValue + /// + protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { + propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// CreateDelegate + /// + protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { + return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod + | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { + delegateType, + handler}, null))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/obj/Debug/GeneratedInternalTypeHelper.g.i.cs b/obj/Debug/GeneratedInternalTypeHelper.g.i.cs new file mode 100644 index 0000000..5685da6 --- /dev/null +++ b/obj/Debug/GeneratedInternalTypeHelper.g.i.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { + + /// + /// CreateInstance + /// + protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { + return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) + | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); + } + + /// + /// GetPropertyValue + /// + protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { + return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// SetPropertyValue + /// + protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { + propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); + } + + /// + /// CreateDelegate + /// + protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { + return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod + | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { + delegateType, + handler}, null))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/obj/Debug/Icons/Exit.baml b/obj/Debug/Icons/Exit.baml new file mode 100644 index 0000000..c56a696 Binary files /dev/null and b/obj/Debug/Icons/Exit.baml differ diff --git a/obj/Debug/Icons/Exit.g.cs b/obj/Debug/Icons/Exit.g.cs new file mode 100644 index 0000000..02c47bc --- /dev/null +++ b/obj/Debug/Icons/Exit.g.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\..\Icons\Exit.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ADE54C893A30845214C64CADE7D2EB325CCBE3788735C469199323659A76334" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher.Icons; +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 Launcher.Icons { + + + /// + /// Exit + /// + public partial class Exit : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [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("/Launcher;component/icons/exit.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\Icons\Exit.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) { + this._contentLoaded = true; + } + } +} + diff --git a/obj/Debug/Icons/Exit.g.i.cs b/obj/Debug/Icons/Exit.g.i.cs new file mode 100644 index 0000000..02c47bc --- /dev/null +++ b/obj/Debug/Icons/Exit.g.i.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\..\Icons\Exit.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ADE54C893A30845214C64CADE7D2EB325CCBE3788735C469199323659A76334" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher.Icons; +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 Launcher.Icons { + + + /// + /// Exit + /// + public partial class Exit : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [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("/Launcher;component/icons/exit.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\Icons\Exit.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) { + this._contentLoaded = true; + } + } +} + diff --git a/obj/Debug/Launcher.Properties.Resources.resources b/obj/Debug/Launcher.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/obj/Debug/Launcher.Properties.Resources.resources differ diff --git a/obj/Debug/Launcher.csproj.CoreCompileInputs.cache b/obj/Debug/Launcher.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..7044b62 --- /dev/null +++ b/obj/Debug/Launcher.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +21cd304e5cd64faab8552f39c89bc2ce4a9dd50f diff --git a/obj/Debug/Launcher.csproj.FileListAbsolute.txt b/obj/Debug/Launcher.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5cb7a0b --- /dev/null +++ b/obj/Debug/Launcher.csproj.FileListAbsolute.txt @@ -0,0 +1,18 @@ +F:\C#\Launcher\Launcher\bin\Debug\Launcher.exe.config +F:\C#\Launcher\Launcher\bin\Debug\Launcher.exe +F:\C#\Launcher\Launcher\bin\Debug\Launcher.pdb +F:\C#\Launcher\Launcher\obj\Debug\Launcher.csprojAssemblyReference.cache +F:\C#\Launcher\Launcher\obj\Debug\Icons\Exit.g.cs +F:\C#\Launcher\Launcher\obj\Debug\MainWindow.g.cs +F:\C#\Launcher\Launcher\obj\Debug\App.g.cs +F:\C#\Launcher\Launcher\obj\Debug\Launcher_MarkupCompile.cache +F:\C#\Launcher\Launcher\obj\Debug\Launcher_MarkupCompile.lref +F:\C#\Launcher\Launcher\obj\Debug\Icons\Exit.baml +F:\C#\Launcher\Launcher\obj\Debug\MainWindow.baml +F:\C#\Launcher\Launcher\obj\Debug\Launcher.g.resources +F:\C#\Launcher\Launcher\obj\Debug\Launcher.Properties.Resources.resources +F:\C#\Launcher\Launcher\obj\Debug\Launcher.csproj.GenerateResource.cache +F:\C#\Launcher\Launcher\obj\Debug\Launcher.csproj.CoreCompileInputs.cache +F:\C#\Launcher\Launcher\obj\Debug\Launcher.exe +F:\C#\Launcher\Launcher\obj\Debug\Launcher.pdb +F:\C#\Launcher\Launcher\obj\Debug\GeneratedInternalTypeHelper.g.cs diff --git a/obj/Debug/Launcher.csproj.GenerateResource.cache b/obj/Debug/Launcher.csproj.GenerateResource.cache new file mode 100644 index 0000000..99ddd43 Binary files /dev/null and b/obj/Debug/Launcher.csproj.GenerateResource.cache differ diff --git a/obj/Debug/Launcher.csprojAssemblyReference.cache b/obj/Debug/Launcher.csprojAssemblyReference.cache new file mode 100644 index 0000000..4e6fa8d Binary files /dev/null and b/obj/Debug/Launcher.csprojAssemblyReference.cache differ diff --git a/obj/Debug/Launcher.exe b/obj/Debug/Launcher.exe new file mode 100644 index 0000000..49074d9 Binary files /dev/null and b/obj/Debug/Launcher.exe differ diff --git a/obj/Debug/Launcher.g.resources b/obj/Debug/Launcher.g.resources new file mode 100644 index 0000000..27b4e7e Binary files /dev/null and b/obj/Debug/Launcher.g.resources differ diff --git a/obj/Debug/Launcher.pdb b/obj/Debug/Launcher.pdb new file mode 100644 index 0000000..da30289 Binary files /dev/null and b/obj/Debug/Launcher.pdb differ diff --git a/obj/Debug/Launcher_Content.g.i.cs b/obj/Debug/Launcher_Content.g.i.cs new file mode 100644 index 0000000..93b7cd8 --- /dev/null +++ b/obj/Debug/Launcher_Content.g.i.cs @@ -0,0 +1,13 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("images/smallroom.png")] + + diff --git a/obj/Debug/Launcher_MarkupCompile.cache b/obj/Debug/Launcher_MarkupCompile.cache new file mode 100644 index 0000000..2ab4967 --- /dev/null +++ b/obj/Debug/Launcher_MarkupCompile.cache @@ -0,0 +1,20 @@ +Launcher + + +winexe +C# +.cs +F:\C#\Launcher\Launcher\obj\Debug\ +Launcher +none +false +DEBUG;TRACE +F:\C#\Launcher\Launcher\App.xaml +2689971809 + +8-2012643788 +13-1505183044 +Icons\Exit.xaml;MainWindow.xaml; + +False + diff --git a/obj/Debug/Launcher_MarkupCompile.i.cache b/obj/Debug/Launcher_MarkupCompile.i.cache new file mode 100644 index 0000000..19a316e --- /dev/null +++ b/obj/Debug/Launcher_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +Launcher + + +winexe +C# +.cs +F:\C#\Launcher\Launcher\obj\Debug\ +Launcher +none +false +DEBUG;TRACE +F:\C#\Launcher\Launcher\App.xaml +2689971809 + +91439964141 +13-1505183044 +Icons\Exit.xaml;MainWindow.xaml; + +True + diff --git a/obj/Debug/Launcher_MarkupCompile.i.lref b/obj/Debug/Launcher_MarkupCompile.i.lref new file mode 100644 index 0000000..83ae1c8 --- /dev/null +++ b/obj/Debug/Launcher_MarkupCompile.i.lref @@ -0,0 +1,4 @@ + + +FF:\C#\Launcher\Launcher\MainWindow.xaml;; + diff --git a/obj/Debug/Launcher_MarkupCompile.lref b/obj/Debug/Launcher_MarkupCompile.lref new file mode 100644 index 0000000..86551bc --- /dev/null +++ b/obj/Debug/Launcher_MarkupCompile.lref @@ -0,0 +1,5 @@ + + +FF:\C#\Launcher\Launcher\Icons\Exit.xaml;; +FF:\C#\Launcher\Launcher\MainWindow.xaml;; + diff --git a/obj/Debug/MainWindow.baml b/obj/Debug/MainWindow.baml new file mode 100644 index 0000000..05f9054 Binary files /dev/null and b/obj/Debug/MainWindow.baml differ diff --git a/obj/Debug/MainWindow.g.cs b/obj/Debug/MainWindow.g.cs new file mode 100644 index 0000000..55d8d8c --- /dev/null +++ b/obj/Debug/MainWindow.g.cs @@ -0,0 +1,109 @@ +#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E795143C1703EF58C51A05ACE6C7D7BEB00D55CFDF9D2F879C6085A51FE29A06" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher; +using Launcher.Icons; +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 Launcher { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 20 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label startgame; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [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("/Launcher;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.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) { + return System.Delegate.CreateDelegate(delegateType, this, handler); + } + + [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.startgame = ((System.Windows.Controls.Label)(target)); + + #line 20 "..\..\MainWindow.xaml" + this.startgame.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Label_MouseEnter); + + #line default + #line hidden + + #line 20 "..\..\MainWindow.xaml" + this.startgame.MouseLeave += new System.Windows.Input.MouseEventHandler(this.startgame_MouseLeave); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/obj/Debug/MainWindow.g.i.cs b/obj/Debug/MainWindow.g.i.cs new file mode 100644 index 0000000..55d8d8c --- /dev/null +++ b/obj/Debug/MainWindow.g.i.cs @@ -0,0 +1,109 @@ +#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E795143C1703EF58C51A05ACE6C7D7BEB00D55CFDF9D2F879C6085A51FE29A06" +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using Launcher; +using Launcher.Icons; +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 Launcher { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 20 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label startgame; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [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("/Launcher;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.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) { + return System.Delegate.CreateDelegate(delegateType, this, handler); + } + + [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.startgame = ((System.Windows.Controls.Label)(target)); + + #line 20 "..\..\MainWindow.xaml" + this.startgame.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Label_MouseEnter); + + #line default + #line hidden + + #line 20 "..\..\MainWindow.xaml" + this.startgame.MouseLeave += new System.Windows.Input.MouseEventHandler(this.startgame_MouseLeave); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} +