463 lines
18 KiB
C#
Executable File
463 lines
18 KiB
C#
Executable File
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8EE7D70064D543648435C6860FAE7BB27617EC26"
|
|
//------------------------------------------------------------------------------
|
|
// <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 PATCH_Launcher_WPF;
|
|
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 PATCH_Launcher_WPF {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 14 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image logoImage;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 15 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button LaunchButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 20 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button closeButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 21 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.WebBrowser NewsBrowser;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 22 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button PatchnotesButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 23 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button OptionsButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 24 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button RegisterButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 25 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button RegisterBackButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 26 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ProgressBar MainProgressBar;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 27 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ProgressBar ProgressBar;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 28 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label MainDebug;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 29 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label DetailsDebug;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 30 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label DownloadProgressLabel;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 31 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label CurrentBuildLabel;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 32 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button minimizeButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 33 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BackButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 34 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Canvas ToolsContainer;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 35 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock textBlock;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 37 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button ForceRepairButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 38 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button GameSetup;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 40 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button OptionsBackButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 41 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Canvas IsDirtyBackdrop;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 42 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label IsDirtyLabel1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 43 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label IsDirtyLabel2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 44 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button RestartButton;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 47 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox Username;
|
|
|
|
#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("/The SWG Source 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.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 9 "..\..\MainWindow.xaml"
|
|
((PATCH_Launcher_WPF.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\MainWindow.xaml"
|
|
((PATCH_Launcher_WPF.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMoveMouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.logoImage = ((System.Windows.Controls.Image)(target));
|
|
|
|
#line 14 "..\..\MainWindow.xaml"
|
|
this.logoImage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMoveMouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.LaunchButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 15 "..\..\MainWindow.xaml"
|
|
this.LaunchButton.Click += new System.Windows.RoutedEventHandler(this.LaunchButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.closeButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 20 "..\..\MainWindow.xaml"
|
|
this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_MouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.NewsBrowser = ((System.Windows.Controls.WebBrowser)(target));
|
|
return;
|
|
case 6:
|
|
this.PatchnotesButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 22 "..\..\MainWindow.xaml"
|
|
this.PatchnotesButton.Click += new System.Windows.RoutedEventHandler(this.PatchnotesButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
this.OptionsButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 23 "..\..\MainWindow.xaml"
|
|
this.OptionsButton.Click += new System.Windows.RoutedEventHandler(this.OptionsButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 8:
|
|
this.RegisterButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 24 "..\..\MainWindow.xaml"
|
|
this.RegisterButton.Click += new System.Windows.RoutedEventHandler(this.RegisterButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 9:
|
|
this.RegisterBackButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 25 "..\..\MainWindow.xaml"
|
|
this.RegisterBackButton.Click += new System.Windows.RoutedEventHandler(this.RegisterBackButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 10:
|
|
this.MainProgressBar = ((System.Windows.Controls.ProgressBar)(target));
|
|
return;
|
|
case 11:
|
|
this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target));
|
|
return;
|
|
case 12:
|
|
this.MainDebug = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 13:
|
|
this.DetailsDebug = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 14:
|
|
this.DownloadProgressLabel = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 15:
|
|
this.CurrentBuildLabel = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 16:
|
|
this.minimizeButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 32 "..\..\MainWindow.xaml"
|
|
this.minimizeButton.Click += new System.Windows.RoutedEventHandler(this.IconButton_MouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 17:
|
|
this.BackButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 33 "..\..\MainWindow.xaml"
|
|
this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 18:
|
|
this.ToolsContainer = ((System.Windows.Controls.Canvas)(target));
|
|
return;
|
|
case 19:
|
|
this.textBlock = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 20:
|
|
this.ForceRepairButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 37 "..\..\MainWindow.xaml"
|
|
this.ForceRepairButton.Click += new System.Windows.RoutedEventHandler(this.ForceRepairButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 21:
|
|
this.GameSetup = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 38 "..\..\MainWindow.xaml"
|
|
this.GameSetup.Click += new System.Windows.RoutedEventHandler(this.GameSetup_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 22:
|
|
this.OptionsBackButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 40 "..\..\MainWindow.xaml"
|
|
this.OptionsBackButton.Click += new System.Windows.RoutedEventHandler(this.OptionsBackButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 23:
|
|
this.IsDirtyBackdrop = ((System.Windows.Controls.Canvas)(target));
|
|
return;
|
|
case 24:
|
|
this.IsDirtyLabel1 = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 25:
|
|
this.IsDirtyLabel2 = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 26:
|
|
this.RestartButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 44 "..\..\MainWindow.xaml"
|
|
this.RestartButton.Click += new System.Windows.RoutedEventHandler(this.RestartButton_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 27:
|
|
this.Username = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 47 "..\..\MainWindow.xaml"
|
|
this.Username.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|