175 lines
6.7 KiB
C#
175 lines
6.7 KiB
C#
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "646C28D9F4D08877DE68C3925AD935511C561C1E"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 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.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using MultiWoWLauncher;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Automation;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Controls.Primitives;
|
|
using System.Windows.Controls.Ribbon;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.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 MultiWoWLauncher {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 19 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MediaElement BackgroundVideo;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 28 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Shapes.Rectangle FallbackBackground;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 196 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.CheckBox ClearCacheCheckBox;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.10.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/MultiWoWLauncher;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", "8.0.10.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 15 "..\..\..\MainWindow.xaml"
|
|
((MultiWoWLauncher.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.BackgroundVideo = ((System.Windows.Controls.MediaElement)(target));
|
|
|
|
#line 22 "..\..\..\MainWindow.xaml"
|
|
this.BackgroundVideo.MediaOpened += new System.Windows.RoutedEventHandler(this.BackgroundVideo_MediaOpened);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 23 "..\..\..\MainWindow.xaml"
|
|
this.BackgroundVideo.MediaEnded += new System.Windows.RoutedEventHandler(this.BackgroundVideo_MediaEnded);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 24 "..\..\..\MainWindow.xaml"
|
|
this.BackgroundVideo.MediaFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.BackgroundVideo_MediaFailed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.FallbackBackground = ((System.Windows.Shapes.Rectangle)(target));
|
|
return;
|
|
case 4:
|
|
|
|
#line 41 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
|
|
#line 84 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
|
|
#line 163 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchWoW_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
this.ClearCacheCheckBox = ((System.Windows.Controls.CheckBox)(target));
|
|
|
|
#line 202 "..\..\..\MainWindow.xaml"
|
|
this.ClearCacheCheckBox.Checked += new System.Windows.RoutedEventHandler(this.ClearCacheCheckBox_CheckedChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 203 "..\..\..\MainWindow.xaml"
|
|
this.ClearCacheCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.ClearCacheCheckBox_CheckedChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|