GraphByClick.g.cs 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. #pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "59E82A882709272D1CC59D9EC1655131E84A84875301DE10CAA3C1DFA3A2CD09"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.42000
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using GraphDrawer.Properties;
  12. using System;
  13. using System.Diagnostics;
  14. using System.Windows;
  15. using System.Windows.Automation;
  16. using System.Windows.Controls;
  17. using System.Windows.Controls.Primitives;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. namespace GraphDrawer {
  33. /// <summary>
  34. /// GraphByClick
  35. /// </summary>
  36. public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 18 "..\..\GraphByClick.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.MenuItem focusedGraphBtn;
  40. #line default
  41. #line hidden
  42. #line 19 "..\..\GraphByClick.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.MenuItem unfocusedGraphBtn;
  45. #line default
  46. #line hidden
  47. #line 22 "..\..\GraphByClick.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.MenuItem namedGraphBtn;
  50. #line default
  51. #line hidden
  52. #line 23 "..\..\GraphByClick.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.MenuItem unnamedGraphBtn;
  55. #line default
  56. #line hidden
  57. #line 31 "..\..\GraphByClick.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.MenuItem AdjacencyBtn;
  60. #line default
  61. #line hidden
  62. #line 32 "..\..\GraphByClick.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.MenuItem IncidenceBtn;
  65. #line default
  66. #line hidden
  67. #line 34 "..\..\GraphByClick.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.MenuItem GraphByMatrixBtn;
  70. #line default
  71. #line hidden
  72. #line 37 "..\..\GraphByClick.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.Grid choiceGrid;
  75. #line default
  76. #line hidden
  77. #line 42 "..\..\GraphByClick.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.RadioButton vertexRb;
  80. #line default
  81. #line hidden
  82. #line 43 "..\..\GraphByClick.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.RadioButton edgeRb;
  85. #line default
  86. #line hidden
  87. #line 46 "..\..\GraphByClick.xaml"
  88. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  89. internal System.Windows.Controls.Button clearBtn;
  90. #line default
  91. #line hidden
  92. #line 47 "..\..\GraphByClick.xaml"
  93. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  94. internal System.Windows.Controls.Button exportPngBtn;
  95. #line default
  96. #line hidden
  97. #line 48 "..\..\GraphByClick.xaml"
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  99. internal System.Windows.Controls.Button backBtn;
  100. #line default
  101. #line hidden
  102. #line 51 "..\..\GraphByClick.xaml"
  103. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  104. internal System.Windows.Controls.Canvas canvas;
  105. #line default
  106. #line hidden
  107. #line 54 "..\..\GraphByClick.xaml"
  108. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  109. internal System.Windows.Controls.MenuItem saveBtn;
  110. #line default
  111. #line hidden
  112. #line 55 "..\..\GraphByClick.xaml"
  113. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  114. internal System.Windows.Controls.MenuItem printBtn;
  115. #line default
  116. #line hidden
  117. #line 60 "..\..\GraphByClick.xaml"
  118. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  119. internal System.Windows.Controls.MenuItem delEdgeBtn;
  120. #line default
  121. #line hidden
  122. #line 61 "..\..\GraphByClick.xaml"
  123. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  124. internal System.Windows.Controls.MenuItem delArcBtn;
  125. #line default
  126. #line hidden
  127. #line 62 "..\..\GraphByClick.xaml"
  128. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  129. internal System.Windows.Controls.MenuItem delAllBtn;
  130. #line default
  131. #line hidden
  132. private bool _contentLoaded;
  133. /// <summary>
  134. /// InitializeComponent
  135. /// </summary>
  136. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  137. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  138. public void InitializeComponent() {
  139. if (_contentLoaded) {
  140. return;
  141. }
  142. _contentLoaded = true;
  143. System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/graphbyclick.xaml", System.UriKind.Relative);
  144. #line 1 "..\..\GraphByClick.xaml"
  145. System.Windows.Application.LoadComponent(this, resourceLocater);
  146. #line default
  147. #line hidden
  148. }
  149. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  150. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  151. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  152. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  153. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  154. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  155. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  156. switch (connectionId)
  157. {
  158. case 1:
  159. this.focusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
  160. #line 18 "..\..\GraphByClick.xaml"
  161. this.focusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.focusedGraphBtn_Click);
  162. #line default
  163. #line hidden
  164. return;
  165. case 2:
  166. this.unfocusedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
  167. #line 19 "..\..\GraphByClick.xaml"
  168. this.unfocusedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unfocusedGraphBtn_Click);
  169. #line default
  170. #line hidden
  171. return;
  172. case 3:
  173. this.namedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
  174. #line 22 "..\..\GraphByClick.xaml"
  175. this.namedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.namedGraphBtn_Click);
  176. #line default
  177. #line hidden
  178. return;
  179. case 4:
  180. this.unnamedGraphBtn = ((System.Windows.Controls.MenuItem)(target));
  181. #line 23 "..\..\GraphByClick.xaml"
  182. this.unnamedGraphBtn.Click += new System.Windows.RoutedEventHandler(this.unnamedGraphBtn_Click);
  183. #line default
  184. #line hidden
  185. return;
  186. case 5:
  187. this.AdjacencyBtn = ((System.Windows.Controls.MenuItem)(target));
  188. #line 31 "..\..\GraphByClick.xaml"
  189. this.AdjacencyBtn.Click += new System.Windows.RoutedEventHandler(this.AdjacencyBtn_Click);
  190. #line default
  191. #line hidden
  192. return;
  193. case 6:
  194. this.IncidenceBtn = ((System.Windows.Controls.MenuItem)(target));
  195. #line 32 "..\..\GraphByClick.xaml"
  196. this.IncidenceBtn.Click += new System.Windows.RoutedEventHandler(this.IncidenceBtn_Click);
  197. #line default
  198. #line hidden
  199. return;
  200. case 7:
  201. this.GraphByMatrixBtn = ((System.Windows.Controls.MenuItem)(target));
  202. #line 34 "..\..\GraphByClick.xaml"
  203. this.GraphByMatrixBtn.Click += new System.Windows.RoutedEventHandler(this.GraphByMatrix_Click);
  204. #line default
  205. #line hidden
  206. return;
  207. case 8:
  208. this.choiceGrid = ((System.Windows.Controls.Grid)(target));
  209. return;
  210. case 9:
  211. this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
  212. return;
  213. case 10:
  214. this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
  215. return;
  216. case 11:
  217. this.clearBtn = ((System.Windows.Controls.Button)(target));
  218. #line 46 "..\..\GraphByClick.xaml"
  219. this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
  220. #line default
  221. #line hidden
  222. return;
  223. case 12:
  224. this.exportPngBtn = ((System.Windows.Controls.Button)(target));
  225. #line 47 "..\..\GraphByClick.xaml"
  226. this.exportPngBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
  227. #line default
  228. #line hidden
  229. return;
  230. case 13:
  231. this.backBtn = ((System.Windows.Controls.Button)(target));
  232. #line 48 "..\..\GraphByClick.xaml"
  233. this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
  234. #line default
  235. #line hidden
  236. return;
  237. case 14:
  238. this.canvas = ((System.Windows.Controls.Canvas)(target));
  239. #line 51 "..\..\GraphByClick.xaml"
  240. this.canvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
  241. #line default
  242. #line hidden
  243. return;
  244. case 15:
  245. this.saveBtn = ((System.Windows.Controls.MenuItem)(target));
  246. #line 54 "..\..\GraphByClick.xaml"
  247. this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.exportPngBtn_Click);
  248. #line default
  249. #line hidden
  250. return;
  251. case 16:
  252. this.printBtn = ((System.Windows.Controls.MenuItem)(target));
  253. #line 55 "..\..\GraphByClick.xaml"
  254. this.printBtn.Click += new System.Windows.RoutedEventHandler(this.printBtn_Click);
  255. #line default
  256. #line hidden
  257. return;
  258. case 17:
  259. this.delEdgeBtn = ((System.Windows.Controls.MenuItem)(target));
  260. #line 60 "..\..\GraphByClick.xaml"
  261. this.delEdgeBtn.Click += new System.Windows.RoutedEventHandler(this.delEdgeBtn_Click);
  262. #line default
  263. #line hidden
  264. return;
  265. case 18:
  266. this.delArcBtn = ((System.Windows.Controls.MenuItem)(target));
  267. return;
  268. case 19:
  269. this.delAllBtn = ((System.Windows.Controls.MenuItem)(target));
  270. #line 62 "..\..\GraphByClick.xaml"
  271. this.delAllBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
  272. #line default
  273. #line hidden
  274. return;
  275. }
  276. this._contentLoaded = true;
  277. }
  278. }
  279. }