|
@@ -0,0 +1,181 @@
|
|
|
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3E6614424510BE2D44463A1B32BD72B98C3DD81831FE1E6F5DB8B6A2D9184E9F"
|
|
|
+//------------------------------------------------------------------------------
|
|
|
+// <auto-generated>
|
|
|
+// This code was generated by a tool.
|
|
|
+// Runtime Version:4.0.30319.42000
|
|
|
+//
|
|
|
+// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
+// the code is regenerated.
|
|
|
+// </auto-generated>
|
|
|
+//------------------------------------------------------------------------------
|
|
|
+
|
|
|
+using GraphDrawer;
|
|
|
+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 GraphDrawer {
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// GraphByClick
|
|
|
+ /// </summary>
|
|
|
+ public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
+
|
|
|
+
|
|
|
+ #line 10 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Canvas canvas;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 11 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Button backBtn;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 12 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Grid choiceGrid;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 17 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.RadioButton vertexRb;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 18 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.RadioButton edgeRb;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 20 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Label test;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 21 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Button clearBtn;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+ private bool _contentLoaded;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// InitializeComponent
|
|
|
+ /// </summary>
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
+ public void InitializeComponent() {
|
|
|
+ if (_contentLoaded) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ _contentLoaded = true;
|
|
|
+ System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/graphbyclick.xaml", System.UriKind.Relative);
|
|
|
+
|
|
|
+ #line 1 "..\..\GraphByClick.xaml"
|
|
|
+ System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ }
|
|
|
+
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.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:
|
|
|
+
|
|
|
+ #line 9 "..\..\GraphByClick.xaml"
|
|
|
+ ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseUp);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 2:
|
|
|
+ this.canvas = ((System.Windows.Controls.Canvas)(target));
|
|
|
+
|
|
|
+ #line 10 "..\..\GraphByClick.xaml"
|
|
|
+ this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 3:
|
|
|
+ this.backBtn = ((System.Windows.Controls.Button)(target));
|
|
|
+
|
|
|
+ #line 11 "..\..\GraphByClick.xaml"
|
|
|
+ this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 4:
|
|
|
+ this.choiceGrid = ((System.Windows.Controls.Grid)(target));
|
|
|
+ return;
|
|
|
+ case 5:
|
|
|
+ this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ return;
|
|
|
+ case 6:
|
|
|
+ this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ return;
|
|
|
+ case 7:
|
|
|
+ this.test = ((System.Windows.Controls.Label)(target));
|
|
|
+ return;
|
|
|
+ case 8:
|
|
|
+ this.clearBtn = ((System.Windows.Controls.Button)(target));
|
|
|
+
|
|
|
+ #line 21 "..\..\GraphByClick.xaml"
|
|
|
+ this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this._contentLoaded = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|