Window1.g.cs
资源名称:WPF1.rar [点击查看]
上传用户:yuzhig5
上传日期:2022-06-12
资源大小:55k
文件大小:6k
源码类别:
绘图程序
开发平台:
Visual C++
- #pragma checksum "....Window1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "66A9F87E647D6EA1DA7EAB4B82488B8E"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:2.0.50727.3603
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </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;
- namespace WpfApplication2 {
- /// <summary>
- /// Window1
- /// </summary>
- public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
- #line 5 "....Window1.xaml"
- internal System.Windows.Controls.Canvas LayRoot;
- #line default
- #line hidden
- #line 6 "....Window1.xaml"
- internal System.Windows.Controls.RadioButton rabDrawLine;
- #line default
- #line hidden
- #line 7 "....Window1.xaml"
- internal System.Windows.Controls.RadioButton rabGetLine;
- #line default
- #line hidden
- #line 8 "....Window1.xaml"
- internal System.Windows.Controls.Button btnOpenFile_txt;
- #line default
- #line hidden
- #line 9 "....Window1.xaml"
- internal System.Windows.Controls.Button btnSaveFile_txt;
- #line default
- #line hidden
- #line 10 "....Window1.xaml"
- internal System.Windows.Controls.ListBox listBox1;
- #line default
- #line hidden
- #line 12 "....Window1.xaml"
- internal System.Windows.Controls.Canvas canvas1;
- #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("/WpfApplication2;component/window1.xaml", System.UriKind.Relative);
- #line 1 "....Window1.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")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- #line 4 "....Window1.xaml"
- ((WpfApplication2.Window1)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas_MM);
- #line default
- #line hidden
- #line 4 "....Window1.xaml"
- ((WpfApplication2.Window1)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MLBD);
- #line default
- #line hidden
- return;
- case 2:
- this.LayRoot = ((System.Windows.Controls.Canvas)(target));
- return;
- case 3:
- this.rabDrawLine = ((System.Windows.Controls.RadioButton)(target));
- #line 6 "....Window1.xaml"
- this.rabDrawLine.Checked += new System.Windows.RoutedEventHandler(this.rabDrawLine_Checked);
- #line default
- #line hidden
- return;
- case 4:
- this.rabGetLine = ((System.Windows.Controls.RadioButton)(target));
- #line 7 "....Window1.xaml"
- this.rabGetLine.Checked += new System.Windows.RoutedEventHandler(this.rabGetLine_Checked);
- #line default
- #line hidden
- return;
- case 5:
- this.btnOpenFile_txt = ((System.Windows.Controls.Button)(target));
- return;
- case 6:
- this.btnSaveFile_txt = ((System.Windows.Controls.Button)(target));
- return;
- case 7:
- this.listBox1 = ((System.Windows.Controls.ListBox)(target));
- return;
- case 8:
- this.canvas1 = ((System.Windows.Controls.Canvas)(target));
- #line 12 "....Window1.xaml"
- this.canvas1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.canvas1_ME);
- #line default
- #line hidden
- #line 12 "....Window1.xaml"
- this.canvas1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.canvas1_ML);
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
English
