Window1.g.cs
Upload User: yuzhig5
Upload Date: 2022-06-12
Package Size: 55k
Code Size: 6k
Category:

Graph Drawing

Development Platform:

Visual C++

  1. #pragma checksum "....Window1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "66A9F87E647D6EA1DA7EAB4B82488B8E"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. //     此代码由工具生成。
  5. //     运行时版本:2.0.50727.3603
  6. //
  7. //     对此文件的更改可能会导致不正确的行为,并且如果
  8. //     重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. namespace WpfApplication2 {
  31.     
  32.     
  33.     /// <summary>
  34.     /// Window1
  35.     /// </summary>
  36.     public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37.         
  38.         
  39.         #line 5 "....Window1.xaml"
  40.         internal System.Windows.Controls.Canvas LayRoot;
  41.         
  42.         #line default
  43.         #line hidden
  44.         
  45.         
  46.         #line 6 "....Window1.xaml"
  47.         internal System.Windows.Controls.RadioButton rabDrawLine;
  48.         
  49.         #line default
  50.         #line hidden
  51.         
  52.         
  53.         #line 7 "....Window1.xaml"
  54.         internal System.Windows.Controls.RadioButton rabGetLine;
  55.         
  56.         #line default
  57.         #line hidden
  58.         
  59.         
  60.         #line 8 "....Window1.xaml"
  61.         internal System.Windows.Controls.Button btnOpenFile_txt;
  62.         
  63.         #line default
  64.         #line hidden
  65.         
  66.         
  67.         #line 9 "....Window1.xaml"
  68.         internal System.Windows.Controls.Button btnSaveFile_txt;
  69.         
  70.         #line default
  71.         #line hidden
  72.         
  73.         
  74.         #line 10 "....Window1.xaml"
  75.         internal System.Windows.Controls.ListBox listBox1;
  76.         
  77.         #line default
  78.         #line hidden
  79.         
  80.         
  81.         #line 12 "....Window1.xaml"
  82.         internal System.Windows.Controls.Canvas canvas1;
  83.         
  84.         #line default
  85.         #line hidden
  86.         
  87.         private bool _contentLoaded;
  88.         
  89.         /// <summary>
  90.         /// InitializeComponent
  91.         /// </summary>
  92.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  93.         public void InitializeComponent() {
  94.             if (_contentLoaded) {
  95.                 return;
  96.             }
  97.             _contentLoaded = true;
  98.             System.Uri resourceLocater = new System.Uri("/WpfApplication2;component/window1.xaml", System.UriKind.Relative);
  99.             
  100.             #line 1 "....Window1.xaml"
  101.             System.Windows.Application.LoadComponent(this, resourceLocater);
  102.             
  103.             #line default
  104.             #line hidden
  105.         }
  106.         
  107.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  108.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  109.         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  110.         void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  111.             switch (connectionId)
  112.             {
  113.             case 1:
  114.             
  115.             #line 4 "....Window1.xaml"
  116.             ((WpfApplication2.Window1)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas_MM);
  117.             
  118.             #line default
  119.             #line hidden
  120.             
  121.             #line 4 "....Window1.xaml"
  122.             ((WpfApplication2.Window1)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MLBD);
  123.             
  124.             #line default
  125.             #line hidden
  126.             return;
  127.             case 2:
  128.             this.LayRoot = ((System.Windows.Controls.Canvas)(target));
  129.             return;
  130.             case 3:
  131.             this.rabDrawLine = ((System.Windows.Controls.RadioButton)(target));
  132.             
  133.             #line 6 "....Window1.xaml"
  134.             this.rabDrawLine.Checked += new System.Windows.RoutedEventHandler(this.rabDrawLine_Checked);
  135.             
  136.             #line default
  137.             #line hidden
  138.             return;
  139.             case 4:
  140.             this.rabGetLine = ((System.Windows.Controls.RadioButton)(target));
  141.             
  142.             #line 7 "....Window1.xaml"
  143.             this.rabGetLine.Checked += new System.Windows.RoutedEventHandler(this.rabGetLine_Checked);
  144.             
  145.             #line default
  146.             #line hidden
  147.             return;
  148.             case 5:
  149.             this.btnOpenFile_txt = ((System.Windows.Controls.Button)(target));
  150.             return;
  151.             case 6:
  152.             this.btnSaveFile_txt = ((System.Windows.Controls.Button)(target));
  153.             return;
  154.             case 7:
  155.             this.listBox1 = ((System.Windows.Controls.ListBox)(target));
  156.             return;
  157.             case 8:
  158.             this.canvas1 = ((System.Windows.Controls.Canvas)(target));
  159.             
  160.             #line 12 "....Window1.xaml"
  161.             this.canvas1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.canvas1_ME);
  162.             
  163.             #line default
  164.             #line hidden
  165.             
  166.             #line 12 "....Window1.xaml"
  167.             this.canvas1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.canvas1_ML);
  168.             
  169.             #line default
  170.             #line hidden
  171.             return;
  172.             }
  173.             this._contentLoaded = true;
  174.         }
  175.     }
  176. }