158 lines
5.8 KiB
C#
158 lines
5.8 KiB
C#
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "06E6818FB6BFD069668131ABB552A64E79217644"
|
|
//------------------------------------------------------------------------------
|
|
// <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;
|
|
using WPFProject;
|
|
|
|
|
|
namespace WPFProject {
|
|
|
|
|
|
/// <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.Grid Header;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 25 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label Title;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 32 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid Home;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 36 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid Products;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 40 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid Contact;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.0.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/WPFProject;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", "6.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:
|
|
this.Header = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 2:
|
|
this.Title = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 3:
|
|
|
|
#line 27 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HomeClick);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
|
|
#line 28 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ProductsClick);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
|
|
#line 29 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ContactClick);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.Home = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 7:
|
|
this.Products = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 8:
|
|
this.Contact = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|