|
@@ -1,4 +1,4 @@
|
|
-#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "934C912879B70A3B7F57A7D3879477438A1E10A95EC1500236D243D483C63CA2"
|
|
|
|
|
|
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A5E3E8CF98D1C938DB97C7160BCC519F7D60D6C49335A42FBA8C273901E87830"
|
|
//------------------------------------------------------------------------------
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// This code was generated by a tool.
|
|
@@ -41,7 +41,7 @@ namespace GraphDrawer {
|
|
public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
|
- #line 13 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 18 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem multiGraphBtn;
|
|
internal System.Windows.Controls.MenuItem multiGraphBtn;
|
|
|
|
|
|
@@ -49,7 +49,7 @@ namespace GraphDrawer {
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 14 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 19 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem pseudoGraphBtn;
|
|
internal System.Windows.Controls.MenuItem pseudoGraphBtn;
|
|
|
|
|
|
@@ -57,7 +57,7 @@ namespace GraphDrawer {
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 17 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 22 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem focusedGraphBtn;
|
|
internal System.Windows.Controls.MenuItem focusedGraphBtn;
|
|
|
|
|
|
@@ -65,7 +65,7 @@ namespace GraphDrawer {
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 18 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 23 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.MenuItem unfocusedGraphBtn;
|
|
internal System.Windows.Controls.MenuItem unfocusedGraphBtn;
|
|
|
|
|
|
@@ -73,65 +73,65 @@ namespace GraphDrawer {
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 22 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 27 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Canvas canvas;
|
|
|
|
|
|
+ internal System.Windows.Controls.Grid choiceGrid;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 23 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 33 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Button backBtn;
|
|
|
|
|
|
+ internal System.Windows.Controls.RadioButton vertexRb;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 24 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 34 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Grid choiceGrid;
|
|
|
|
|
|
+ internal System.Windows.Controls.RadioButton edgeRb;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 29 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 35 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.RadioButton vertexRb;
|
|
|
|
|
|
+ internal System.Windows.Controls.RadioButton arcRb;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 30 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 38 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.RadioButton edgeRb;
|
|
|
|
|
|
+ internal System.Windows.Controls.Button clearBtn;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 32 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 39 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Label coords;
|
|
|
|
|
|
+ internal System.Windows.Controls.Button exportPngBtn;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 33 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 40 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Button clearBtn;
|
|
|
|
|
|
+ internal System.Windows.Controls.Button backBtn;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
- #line 34 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 43 "..\..\GraphByClick.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
- internal System.Windows.Controls.Button exportPngBtn;
|
|
|
|
|
|
+ internal System.Windows.Controls.Canvas canvas;
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
@@ -167,93 +167,85 @@ namespace GraphDrawer {
|
|
switch (connectionId)
|
|
switch (connectionId)
|
|
{
|
|
{
|
|
case 1:
|
|
case 1:
|
|
-
|
|
|
|
- #line 9 "..\..\GraphByClick.xaml"
|
|
|
|
- ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);
|
|
|
|
-
|
|
|
|
- #line default
|
|
|
|
- #line hidden
|
|
|
|
- return;
|
|
|
|
- case 2:
|
|
|
|
this.multiGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
this.multiGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 13 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 18 "..\..\GraphByClick.xaml"
|
|
this.multiGraphBtn.Click += new System.Windows.RoutedEventHandler(this.multiGraphBtn_Click);
|
|
this.multiGraphBtn.Click += new System.Windows.RoutedEventHandler(this.multiGraphBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
- case 3:
|
|
|
|
|
|
+ case 2:
|
|
this.pseudoGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
this.pseudoGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 14 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 19 "..\..\GraphByClick.xaml"
|
|
this.pseudoGraphBtn.Click += new System.Windows.RoutedEventHandler(this.pseudoGraphBtn_Click);
|
|
this.pseudoGraphBtn.Click += new System.Windows.RoutedEventHandler(this.pseudoGraphBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
- case 4:
|
|
|
|
|
|
+ case 3:
|
|
this.focusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
this.focusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 17 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 22 "..\..\GraphByClick.xaml"
|
|
this.focusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.focusedGraphBtn_Click);
|
|
this.focusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.focusedGraphBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
- case 5:
|
|
|
|
|
|
+ case 4:
|
|
this.unfocusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
this.unfocusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
|
|
|
|
|
|
- #line 18 "..\..\GraphByClick.xaml"
|
|
|
|
|
|
+ #line 23 "..\..\GraphByClick.xaml"
|
|
this.unfocusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unfocusedGraphBtn_Click);
|
|
this.unfocusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unfocusedGraphBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
|
|
+ case 5:
|
|
|
|
+ this.choiceGrid = ((System.Windows.Controls.Grid)(target));
|
|
|
|
+ return;
|
|
case 6:
|
|
case 6:
|
|
- this.canvas = ((System.Windows.Controls.Canvas)(target));
|
|
|
|
|
|
+ this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 7:
|
|
|
|
+ this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 8:
|
|
|
|
+ this.arcRb = ((System.Windows.Controls.RadioButton)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 9:
|
|
|
|
+ this.clearBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 22 "..\..\GraphByClick.xaml"
|
|
|
|
- this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
|
|
|
|
|
|
+ #line 38 "..\..\GraphByClick.xaml"
|
|
|
|
+ this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
- case 7:
|
|
|
|
- this.backBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
+ case 10:
|
|
|
|
+ this.exportPngBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 23 "..\..\GraphByClick.xaml"
|
|
|
|
- this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
|
|
|
|
|
|
+ #line 39 "..\..\GraphByClick.xaml"
|
|
|
|
+ this.exportPngBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
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:
|
|
case 11:
|
|
- this.coords = ((System.Windows.Controls.Label)(target));
|
|
|
|
- return;
|
|
|
|
- case 12:
|
|
|
|
- this.clearBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
+ this.backBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
- #line 33 "..\..\GraphByClick.xaml"
|
|
|
|
- this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
|
|
|
|
|
|
+ #line 40 "..\..\GraphByClick.xaml"
|
|
|
|
+ this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|
|
return;
|
|
return;
|
|
- case 13:
|
|
|
|
- this.exportPngBtn = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
|
+ case 12:
|
|
|
|
+ this.canvas = ((System.Windows.Controls.Canvas)(target));
|
|
|
|
|
|
- #line 34 "..\..\GraphByClick.xaml"
|
|
|
|
- this.exportPngBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
|
|
|
|
|
|
+ #line 43 "..\..\GraphByClick.xaml"
|
|
|
|
+ this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
|
|
|
|
|
|
#line default
|
|
#line default
|
|
#line hidden
|
|
#line hidden
|