464 lines
17 KiB
C#
464 lines
17 KiB
C#
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8A60234C00FE3CBC6D4956AD0F7CF945C604F6A6"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
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 Character_Builder {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 16 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Border RootBorder;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 35 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnRoot;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 36 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnLoad;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 37 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnReset;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 38 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnSave;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 40 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnMin;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 43 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnMax;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 46 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnClose;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 64 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ListBox CharList;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 112 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock TxtCharName;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 114 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button BtnPlay;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 119 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock PreviewHint;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 123 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid StageHost;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 128 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid Stage;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 143 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox CmbBody;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 146 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox CmbShape;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 149 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox CmbExpr;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 152 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.WrapPanel SwatchPanel;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 158 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.StackPanel AccPanel;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 163 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox CmbLayer;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 175 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Slider SldX;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 177 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Slider SldY;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 179 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Slider SldScale;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 190 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock TxtStatus;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.28.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/Character_Builder;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.28.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.RootBorder = ((System.Windows.Controls.Border)(target));
|
|
return;
|
|
case 2:
|
|
this.BtnRoot = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 35 "..\..\..\MainWindow.xaml"
|
|
this.BtnRoot.Click += new System.Windows.RoutedEventHandler(this.Root_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.BtnLoad = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 36 "..\..\..\MainWindow.xaml"
|
|
this.BtnLoad.Click += new System.Windows.RoutedEventHandler(this.Load_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.BtnReset = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 37 "..\..\..\MainWindow.xaml"
|
|
this.BtnReset.Click += new System.Windows.RoutedEventHandler(this.Reset_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.BtnSave = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 38 "..\..\..\MainWindow.xaml"
|
|
this.BtnSave.Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.BtnMin = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 40 "..\..\..\MainWindow.xaml"
|
|
this.BtnMin.Click += new System.Windows.RoutedEventHandler(this.Min_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
this.BtnMax = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 43 "..\..\..\MainWindow.xaml"
|
|
this.BtnMax.Click += new System.Windows.RoutedEventHandler(this.Max_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 8:
|
|
this.BtnClose = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 46 "..\..\..\MainWindow.xaml"
|
|
this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.Close_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 9:
|
|
this.CharList = ((System.Windows.Controls.ListBox)(target));
|
|
|
|
#line 66 "..\..\..\MainWindow.xaml"
|
|
this.CharList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CharList_SelectionChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 10:
|
|
this.TxtCharName = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 11:
|
|
this.BtnPlay = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 114 "..\..\..\MainWindow.xaml"
|
|
this.BtnPlay.Click += new System.Windows.RoutedEventHandler(this.Play_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 12:
|
|
this.PreviewHint = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 13:
|
|
this.StageHost = ((System.Windows.Controls.Grid)(target));
|
|
|
|
#line 125 "..\..\..\MainWindow.xaml"
|
|
this.StageHost.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Stage_MouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 126 "..\..\..\MainWindow.xaml"
|
|
this.StageHost.MouseMove += new System.Windows.Input.MouseEventHandler(this.Stage_MouseMove);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 127 "..\..\..\MainWindow.xaml"
|
|
this.StageHost.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Stage_MouseUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 14:
|
|
this.Stage = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 15:
|
|
this.CmbBody = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 143 "..\..\..\MainWindow.xaml"
|
|
this.CmbBody.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Body_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 16:
|
|
this.CmbShape = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 146 "..\..\..\MainWindow.xaml"
|
|
this.CmbShape.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Shape_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 17:
|
|
this.CmbExpr = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 149 "..\..\..\MainWindow.xaml"
|
|
this.CmbExpr.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Expr_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 18:
|
|
this.SwatchPanel = ((System.Windows.Controls.WrapPanel)(target));
|
|
return;
|
|
case 19:
|
|
this.AccPanel = ((System.Windows.Controls.StackPanel)(target));
|
|
return;
|
|
case 20:
|
|
this.CmbLayer = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 163 "..\..\..\MainWindow.xaml"
|
|
this.CmbLayer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Layer_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 21:
|
|
this.SldX = ((System.Windows.Controls.Slider)(target));
|
|
|
|
#line 175 "..\..\..\MainWindow.xaml"
|
|
this.SldX.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.LayerXform_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 22:
|
|
this.SldY = ((System.Windows.Controls.Slider)(target));
|
|
|
|
#line 177 "..\..\..\MainWindow.xaml"
|
|
this.SldY.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.LayerXform_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 23:
|
|
this.SldScale = ((System.Windows.Controls.Slider)(target));
|
|
|
|
#line 179 "..\..\..\MainWindow.xaml"
|
|
this.SldScale.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.LayerXform_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 24:
|
|
|
|
#line 181 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AutoAlign_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 25:
|
|
this.TxtStatus = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|