?? window1.g.cs
字號:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.312
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using DTSample;
using System;
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;
namespace DTSample {
/// <summary>
/// Window1
/// </summary>
public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
internal System.Windows.Controls.Button Button1;
internal System.Windows.Controls.Button Button2;
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/DTSample;component/window1.xaml", System.UriKind.Relative);
System.Windows.Application.LoadComponent(this, resourceLocater);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 6 "..\..\Window1.xaml"
((DTSample.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded);
#line default
#line hidden
return;
case 2:
this.Button1 = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\Window1.xaml"
this.Button1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BT1_MouseEnter);
#line default
#line hidden
#line 12 "..\..\Window1.xaml"
this.Button1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BT1_MouseLeave);
#line default
#line hidden
return;
case 3:
this.Button2 = ((System.Windows.Controls.Button)(target));
#line 13 "..\..\Window1.xaml"
this.Button2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BT2_MouseEnter);
#line default
#line hidden
#line 13 "..\..\Window1.xaml"
this.Button2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BT2_MouseLeave);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -