123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- #pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "59E82A882709272D1CC59D9EC1655131E84A84875301DE10CAA3C1DFA3A2CD09"
- //------------------------------------------------------------------------------
- // <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.Properties;
- 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 18 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem focusedGraphBtn;
-
- #line default
- #line hidden
-
-
- #line 19 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem unfocusedGraphBtn;
-
- #line default
- #line hidden
-
-
- #line 22 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem namedGraphBtn;
-
- #line default
- #line hidden
-
-
- #line 23 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem unnamedGraphBtn;
-
- #line default
- #line hidden
-
-
- #line 31 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem AdjacencyBtn;
-
- #line default
- #line hidden
-
-
- #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 43 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.RadioButton edgeRb;
-
- #line default
- #line hidden
-
-
- #line 46 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button clearBtn;
-
- #line default
- #line hidden
-
-
- #line 47 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button exportPngBtn;
-
- #line default
- #line hidden
-
-
- #line 48 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button backBtn;
-
- #line default
- #line hidden
-
-
- #line 51 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Canvas canvas;
-
- #line default
- #line hidden
-
-
- #line 54 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem saveBtn;
-
- #line default
- #line hidden
-
-
- #line 55 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem printBtn;
-
- #line default
- #line hidden
-
-
- #line 60 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem delEdgeBtn;
-
- #line default
- #line hidden
-
-
- #line 61 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem delArcBtn;
-
- #line default
- #line hidden
-
-
- #line 62 "..\..\GraphByClick.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem delAllBtn;
-
- #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:
- this.focusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 18 "..\..\GraphByClick.xaml"
- this.focusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.focusedGraphBtn_Click);
-
- #line default
- #line hidden
- return;
- case 2:
- this.unfocusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 19 "..\..\GraphByClick.xaml"
- this.unfocusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unfocusedGraphBtn_Click);
-
- #line default
- #line hidden
- return;
- case 3:
- this.namedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 22 "..\..\GraphByClick.xaml"
- this.namedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.namedGraphBtn_Click);
-
- #line default
- #line hidden
- return;
- case 4:
- this.unnamedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 23 "..\..\GraphByClick.xaml"
- this.unnamedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unnamedGraphBtn_Click);
-
- #line default
- #line hidden
- return;
- case 5:
- 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.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.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 46 "..\..\GraphByClick.xaml"
- this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
-
- #line default
- #line hidden
- return;
- case 12:
- this.exportPngBtn = ((System.Windows.Controls.Button)(target));
-
- #line 47 "..\..\GraphByClick.xaml"
- this.exportPngBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
-
- #line default
- #line hidden
- return;
- case 13:
- this.backBtn = ((System.Windows.Controls.Button)(target));
-
- #line 48 "..\..\GraphByClick.xaml"
- this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
-
- #line default
- #line hidden
- return;
- case 14:
- this.canvas = ((System.Windows.Controls.Canvas)(target));
-
- #line 51 "..\..\GraphByClick.xaml"
- this.canvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
-
- #line default
- #line hidden
- return;
- case 15:
- this.saveBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 54 "..\..\GraphByClick.xaml"
- this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
-
- #line default
- #line hidden
- return;
- case 16:
- this.printBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 55 "..\..\GraphByClick.xaml"
- this.printBtn.Click += new System.Windows.RoutedEventHandler(this.printBtn_Click);
-
- #line default
- #line hidden
- return;
- case 17:
- this.delEdgeBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 60 "..\..\GraphByClick.xaml"
- this.delEdgeBtn.Click += new System.Windows.RoutedEventHandler(this.delEdgeBtn_Click);
-
- #line default
- #line hidden
- return;
- case 18:
- this.delArcBtn = ((System.Windows.Controls.MenuItem)(target));
- return;
- case 19:
- this.delAllBtn = ((System.Windows.Controls.MenuItem)(target));
-
- #line 62 "..\..\GraphByClick.xaml"
- this.delAllBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|