|
|
|
@ -0,0 +1,271 @@
|
|
|
|
|
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "31CEA98C2986C6D8563E8B886ADD8C5E993D93FA"
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <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 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 FractalPatternGenerator {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MainWindow
|
|
|
|
|
/// </summary>
|
|
|
|
|
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.StackPanel ControlPanel;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 25 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.ComboBox FractalTypeComboBox;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 29 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.ComboBox ColorPaletteComboBox;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 38 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock IterationsValueText;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 40 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Slider IterationsSlider;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 54 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock ZoomValueText;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 56 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Slider ZoomSlider;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 70 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock JuliaRealValueText;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 72 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Slider JuliaRealSlider;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 85 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock JuliaImaginaryValueText;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 87 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Slider JuliaImaginarySlider;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 97 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button GenerateButton;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 98 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button SaveButton;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 105 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.ProgressBar RenderingProgressBar;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 106 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock StatusText;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 108 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.StackPanel StatusPanel;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 113 "..\..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Image FractalImage;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.0")]
|
|
|
|
|
public void InitializeComponent() {
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_contentLoaded = true;
|
|
|
|
|
System.Uri resourceLocater = new System.Uri("/FractalPatternGenerator;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.4.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.ControlPanel = ((System.Windows.Controls.StackPanel)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 2:
|
|
|
|
|
this.FractalTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 3:
|
|
|
|
|
this.ColorPaletteComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 4:
|
|
|
|
|
this.IterationsValueText = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 5:
|
|
|
|
|
this.IterationsSlider = ((System.Windows.Controls.Slider)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 6:
|
|
|
|
|
this.ZoomValueText = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 7:
|
|
|
|
|
this.ZoomSlider = ((System.Windows.Controls.Slider)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 8:
|
|
|
|
|
this.JuliaRealValueText = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 9:
|
|
|
|
|
this.JuliaRealSlider = ((System.Windows.Controls.Slider)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 10:
|
|
|
|
|
this.JuliaImaginaryValueText = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 11:
|
|
|
|
|
this.JuliaImaginarySlider = ((System.Windows.Controls.Slider)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 12:
|
|
|
|
|
this.GenerateButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 13:
|
|
|
|
|
this.SaveButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
|
|
|
|
#line 98 "..\..\..\MainWindow.xaml"
|
|
|
|
|
this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
return;
|
|
|
|
|
case 14:
|
|
|
|
|
this.RenderingProgressBar = ((System.Windows.Controls.ProgressBar)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 15:
|
|
|
|
|
this.StatusText = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 16:
|
|
|
|
|
this.StatusPanel = ((System.Windows.Controls.StackPanel)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 17:
|
|
|
|
|
this.FractalImage = ((System.Windows.Controls.Image)(target));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|