|
#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9C1198115D7E8B6237C9EAB672273B1F"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// 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.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 WpfTreeViewExamples {
/// <summary>
/// MainWindow
/// </summary>
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 63 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSimple;
#line default
#line hidden
#line 64 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnSimpleCodeBehind;
#line default
#line hidden
#line 70 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnCustomByXaml;
#line default
#line hidden
#line 71 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnCustomByCode;
#line default
#line hidden
#line 72 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnCustomByInheritance;
#line default
#line hidden
#line 78 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnHeaderTemplateByXaml;
#line default
#line hidden
#line 79 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnHeaderTemplateByCode;
#line default
#line hidden
#line 85 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnBindingAddSimpleObject;
#line default
#line hidden
#line 86 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnBindingAddSimpleObjectUsingCode;
#line default
#line hidden
#line 93 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnDataBinding;
#line default
#line hidden
#line 94 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnDataBindingUsingCode;
#line default
#line hidden
#line 101 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnDataTemplate;
#line default
#line hidden
#line 102 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnHierarchicalDataTemplate;
#line default
#line hidden
#line 117 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lblTitle;
#line default
#line hidden
#line 119 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gvContainer;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfTreeViewExamples;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[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.btnSimple = ((System.Windows.Controls.Button)(target));
#line 63 "..\..\..\MainWindow.xaml"
this.btnSimple.Click += new System.Windows.RoutedEventHandler(this.btnSimple_Click);
#line default
#line hidden
return;
case 2:
this.btnSimpleCodeBehind = ((System.Windows.Controls.Button)(target));
#line 64 "..\..\..\MainWindow.xaml"
this.btnSimpleCodeBehind.Click += new System.Windows.RoutedEventHandler(this.btnSimpleCodeBehind_Click);
#line default
#line hidden
return;
case 3:
this.btnCustomByXaml = ((System.Windows.Controls.Button)(target));
#line 70 "..\..\..\MainWindow.xaml"
this.btnCustomByXaml.Click += new System.Windows.RoutedEventHandler(this.btnCustomByXaml_Click);
#line default
#line hidden
return;
case 4:
this.btnCustomByCode = ((System.Windows.Controls.Button)(target));
#line 71 "..\..\..\MainWindow.xaml"
this.btnCustomByCode.Click += new System.Windows.RoutedEventHandler(this.btnCustomByCode_Click);
#line default
#line hidden
return;
case 5:
this.btnCustomByInheritance = ((System.Windows.Controls.Button)(target));
#line 72 "..\..\..\MainWindow.xaml"
this.btnCustomByInheritance.Click += new System.Windows.RoutedEventHandler(this.btnCustomByInheritance_Click);
#line default
#line hidden
return;
case 6:
this.btnHeaderTemplateByXaml = ((System.Windows.Controls.Button)(target));
#line 78 "..\..\..\MainWindow.xaml"
this.btnHeaderTemplateByXaml.Click += new System.Windows.RoutedEventHandler(this.btnHeaderTemplateByXaml_Click);
#line default
#line hidden
return;
case 7:
this.btnHeaderTemplateByCode = ((System.Windows.Controls.Button)(target));
#line 79 "..\..\..\MainWindow.xaml"
this.btnHeaderTemplateByCode.Click += new System.Windows.RoutedEventHandler(this.btnHeaderTemplateByCode_Click);
#line default
#line hidden
return;
case 8:
this.btnBindingAddSimpleObject = ((System.Windows.Controls.Button)(target));
#line 85 "..\..\..\MainWindow.xaml"
this.btnBindingAddSimpleObject.Click += new System.Windows.RoutedEventHandler(this.btnBindingAddSimpleObject_Click);
#line default
#line hidden
return;
case 9:
this.btnBindingAddSimpleObjectUsingCode = ((System.Windows.Controls.Button)(target));
#line 86 "..\..\..\MainWindow.xaml"
this.btnBindingAddSimpleObjectUsingCode.Click += new System.Windows.RoutedEventHandler(this.btnBindingAddSimpleObjectUsingCode_Click);
#line default
#line hidden
return;
case 10:
this.btnDataBinding = ((System.Windows.Controls.Button)(target));
#line 93 "..\..\..\MainWindow.xaml"
this.btnDataBinding.Click += new System.Windows.RoutedEventHandler(this.btnDataBinding_Click);
#line default
#line hidden
return;
case 11:
this.btnDataBindingUsingCode = ((System.Windows.Controls.Button)(target));
#line 94 "..\..\..\MainWindow.xaml"
this.btnDataBindingUsingCode.Click += new System.Windows.RoutedEventHandler(this.btnDataBindingUsingCode_Click);
#line default
#line hidden
return;
case 12:
this.btnDataTemplate = ((System.Windows.Controls.Button)(target));
#line 101 "..\..\..\MainWindow.xaml"
this.btnDataTemplate.Click += new System.Windows.RoutedEventHandler(this.btnDataTemplate_Click);
#line default
#line hidden
return;
case 13:
this.btnHierarchicalDataTemplate = ((System.Windows.Controls.Button)(target));
#line 102 "..\..\..\MainWindow.xaml"
this.btnHierarchicalDataTemplate.Click += new System.Windows.RoutedEventHandler(this.btnHierarchicalDataTemplate_Click);
#line default
#line hidden
return;
case 14:
this.lblTitle = ((System.Windows.Controls.Label)(target));
return;
case 15:
this.gvContainer = ((System.Windows.Controls.Grid)(target));
return;
}
this._contentLoaded = true;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.