|
@@ -1,4 +1,4 @@
|
|
|
-#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "54985F503863C1EA05F6F4982CB93E9AB124A1985FA47F261FE6086EEB96BFAC"
|
|
|
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "59E82A882709272D1CC59D9EC1655131E84A84875301DE10CAA3C1DFA3A2CD09"
|
|
|
//------------------------------------------------------------------------------
|
|
|
// <auto-generated>
|
|
|
// This code was generated by a tool.
|
|
@@ -73,9 +73,9 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 27 "..\..\GraphByClick.xaml"
|
|
|
+ #line 31 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
- internal System.Windows.Controls.Grid choiceGrid;
|
|
|
+ internal System.Windows.Controls.MenuItem AdjacencyBtn;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
@@ -83,13 +83,37 @@ namespace GraphDrawer {
|
|
|
|
|
|
#line 32 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.MenuItem IncidenceBtn;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 34 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.MenuItem GraphByMatrixBtn;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 37 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Grid choiceGrid;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 42 "..\..\GraphByClick.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.RadioButton vertexRb;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 33 "..\..\GraphByClick.xaml"
|
|
|
+ #line 43 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.RadioButton edgeRb;
|
|
|
|
|
@@ -97,7 +121,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 36 "..\..\GraphByClick.xaml"
|
|
|
+ #line 46 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Button clearBtn;
|
|
|
|
|
@@ -105,7 +129,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 37 "..\..\GraphByClick.xaml"
|
|
|
+ #line 47 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Button exportPngBtn;
|
|
|
|
|
@@ -113,7 +137,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 38 "..\..\GraphByClick.xaml"
|
|
|
+ #line 48 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Button backBtn;
|
|
|
|
|
@@ -121,7 +145,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 41 "..\..\GraphByClick.xaml"
|
|
|
+ #line 51 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Canvas canvas;
|
|
|
|
|
@@ -129,7 +153,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 44 "..\..\GraphByClick.xaml"
|
|
|
+ #line 54 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.MenuItem saveBtn;
|
|
|
|
|
@@ -137,7 +161,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 45 "..\..\GraphByClick.xaml"
|
|
|
+ #line 55 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.MenuItem printBtn;
|
|
|
|
|
@@ -145,7 +169,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 50 "..\..\GraphByClick.xaml"
|
|
|
+ #line 60 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.MenuItem delEdgeBtn;
|
|
|
|
|
@@ -153,7 +177,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 51 "..\..\GraphByClick.xaml"
|
|
|
+ #line 61 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.MenuItem delArcBtn;
|
|
|
|
|
@@ -161,7 +185,7 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 52 "..\..\GraphByClick.xaml"
|
|
|
+ #line 62 "..\..\GraphByClick.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.MenuItem delAllBtn;
|
|
|
|
|
@@ -235,84 +259,111 @@ namespace GraphDrawer {
|
|
|
#line hidden
|
|
|
return;
|
|
|
case 5:
|
|
|
- this.choiceGrid = ((System.Windows.Controls.Grid)(target));
|
|
|
+ this.AdjacencyBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
+
|
|
|
+ #line 31 "..\..\GraphByClick.xaml"
|
|
|
+ this.AdjacencyBtn.Click += new System.Windows.RoutedEventHandler(this.AdjacencyBtn_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
return;
|
|
|
case 6:
|
|
|
- this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ this.IncidenceBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
+
|
|
|
+ #line 32 "..\..\GraphByClick.xaml"
|
|
|
+ this.IncidenceBtn.Click += new System.Windows.RoutedEventHandler(this.IncidenceBtn_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
return;
|
|
|
case 7:
|
|
|
- this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ this.GraphByMatrixBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
+
|
|
|
+ #line 34 "..\..\GraphByClick.xaml"
|
|
|
+ this.GraphByMatrixBtn.Click += new System.Windows.RoutedEventHandler(this.GraphByMatrix_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
return;
|
|
|
case 8:
|
|
|
+ this.choiceGrid = ((System.Windows.Controls.Grid)(target));
|
|
|
+ return;
|
|
|
+ case 9:
|
|
|
+ this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ return;
|
|
|
+ case 10:
|
|
|
+ this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
+ return;
|
|
|
+ case 11:
|
|
|
this.clearBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 36 "..\..\GraphByClick.xaml"
|
|
|
+ #line 46 "..\..\GraphByClick.xaml"
|
|
|
this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 9:
|
|
|
+ case 12:
|
|
|
this.exportPngBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 37 "..\..\GraphByClick.xaml"
|
|
|
+ #line 47 "..\..\GraphByClick.xaml"
|
|
|
this.exportPngBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 10:
|
|
|
+ case 13:
|
|
|
this.backBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 38 "..\..\GraphByClick.xaml"
|
|
|
+ #line 48 "..\..\GraphByClick.xaml"
|
|
|
this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 11:
|
|
|
+ case 14:
|
|
|
this.canvas = ((System.Windows.Controls.Canvas)(target));
|
|
|
|
|
|
- #line 41 "..\..\GraphByClick.xaml"
|
|
|
+ #line 51 "..\..\GraphByClick.xaml"
|
|
|
this.canvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 12:
|
|
|
+ case 15:
|
|
|
this.saveBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 44 "..\..\GraphByClick.xaml"
|
|
|
+ #line 54 "..\..\GraphByClick.xaml"
|
|
|
this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 13:
|
|
|
+ case 16:
|
|
|
this.printBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 45 "..\..\GraphByClick.xaml"
|
|
|
+ #line 55 "..\..\GraphByClick.xaml"
|
|
|
this.printBtn.Click += new System.Windows.RoutedEventHandler(this.printBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 14:
|
|
|
+ case 17:
|
|
|
this.delEdgeBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 50 "..\..\GraphByClick.xaml"
|
|
|
+ #line 60 "..\..\GraphByClick.xaml"
|
|
|
this.delEdgeBtn.Click += new System.Windows.RoutedEventHandler(this.delEdgeBtn_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
return;
|
|
|
- case 15:
|
|
|
+ case 18:
|
|
|
this.delArcBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
return;
|
|
|
- case 16:
|
|
|
+ case 19:
|
|
|
this.delAllBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 52 "..\..\GraphByClick.xaml"
|
|
|
+ #line 62 "..\..\GraphByClick.xaml"
|
|
|
this.delAllBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
|
|
|
|
|
|
#line default
|