| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- #pragma checksum "..\..\..\..\..\FlowEditor\FlowEditorView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C82289251DF9E1185EAE4FED4DB4D32A973BE774"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:4.0.30319.42000
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- using HandyControl.Controls;
- using HandyControl.Data;
- using HandyControl.Expression.Media;
- using HandyControl.Expression.Shapes;
- using HandyControl.Interactivity;
- using HandyControl.Media.Animation;
- using HandyControl.Media.Effects;
- using HandyControl.Properties.Langs;
- using HandyControl.Themes;
- using HandyControl.Tools;
- using HandyControl.Tools.Converter;
- using HandyControl.Tools.Extension;
- using MahApps.Metro.IconPacks;
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Controls.Ribbon;
- 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;
- using TeamAAS;
- using TeamAAS.FlowEditor.Controls;
- using TeamAAS.FlowEditor.Converters;
- using TeamAAS.Localization;
- namespace TeamAAS.FlowEditor {
-
-
- /// <summary>
- /// FlowEditorView
- /// </summary>
- public partial class FlowEditorView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
-
-
- #line 498 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock TxtZoom;
-
- #line default
- #line hidden
-
-
- #line 507 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnRun;
-
- #line default
- #line hidden
-
-
- #line 508 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnStop;
-
- #line default
- #line hidden
-
-
- #line 513 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border ToolboxPanel;
-
- #line default
- #line hidden
-
-
- #line 519 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.DockPanel ToolboxExpanded;
-
- #line default
- #line hidden
-
-
- #line 522 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnToolboxToggleExpanded;
-
- #line default
- #line hidden
-
-
- #line 574 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.DockPanel ToolboxCollapsed;
-
- #line default
- #line hidden
-
-
- #line 577 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button BtnToolboxToggleCollapsed;
-
- #line default
- #line hidden
-
-
- #line 585 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ItemsControl CollapsedGroups;
-
- #line default
- #line hidden
-
-
- #line 607 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.Popup ToolboxGroupPopup;
-
- #line default
- #line hidden
-
-
- #line 615 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock PopupGroupName;
-
- #line default
- #line hidden
-
-
- #line 619 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ItemsControl PopupItems;
-
- #line default
- #line hidden
-
-
- #line 649 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal TeamAAS.FlowEditor.Controls.FlowCanvas EditorCanvas;
-
- #line default
- #line hidden
-
-
- #line 656 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border DragPreviewNode;
-
- #line default
- #line hidden
-
-
- #line 665 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal MahApps.Metro.IconPacks.PackIconMaterial DragPreviewIcon;
-
- #line default
- #line hidden
-
-
- #line 667 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock DragPreviewText;
-
- #line default
- #line hidden
-
-
- #line 672 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ScrollBar VScrollBar;
-
- #line default
- #line hidden
-
-
- #line 677 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ScrollBar HScrollBar;
-
- #line default
- #line hidden
-
-
- #line 682 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal TeamAAS.FlowEditor.Controls.MinimapControl Minimap;
-
- #line default
- #line hidden
-
-
- #line 690 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border LoadingOverlay;
-
- #line default
- #line hidden
-
-
- #line 716 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ContentControl RightTopSlot;
-
- #line default
- #line hidden
-
-
- #line 727 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ContentControl NodeInfoSlot;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/TeamAAS.FlowEngine;component/floweditor/floweditorview.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.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 496 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomIn_Click);
-
- #line default
- #line hidden
- return;
- case 2:
-
- #line 497 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomOut_Click);
-
- #line default
- #line hidden
- return;
- case 3:
- this.TxtZoom = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 4:
-
- #line 500 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FitView_Click);
-
- #line default
- #line hidden
- return;
- case 5:
- this.BtnRun = ((System.Windows.Controls.Button)(target));
-
- #line 507 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.BtnRun.Click += new System.Windows.RoutedEventHandler(this.RunFlow_Click);
-
- #line default
- #line hidden
- return;
- case 6:
- this.BtnStop = ((System.Windows.Controls.Button)(target));
-
- #line 508 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.BtnStop.Click += new System.Windows.RoutedEventHandler(this.StopFlow_Click);
-
- #line default
- #line hidden
- return;
- case 7:
- this.ToolboxPanel = ((System.Windows.Controls.Border)(target));
- return;
- case 8:
- this.ToolboxExpanded = ((System.Windows.Controls.DockPanel)(target));
- return;
- case 9:
- this.BtnToolboxToggleExpanded = ((System.Windows.Controls.Button)(target));
-
- #line 523 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.BtnToolboxToggleExpanded.Click += new System.Windows.RoutedEventHandler(this.BtnToolboxToggle_Click);
-
- #line default
- #line hidden
- return;
- case 11:
- this.ToolboxCollapsed = ((System.Windows.Controls.DockPanel)(target));
- return;
- case 12:
- this.BtnToolboxToggleCollapsed = ((System.Windows.Controls.Button)(target));
-
- #line 578 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.BtnToolboxToggleCollapsed.Click += new System.Windows.RoutedEventHandler(this.BtnToolboxToggle_Click);
-
- #line default
- #line hidden
- return;
- case 13:
- this.CollapsedGroups = ((System.Windows.Controls.ItemsControl)(target));
- return;
- case 15:
- this.ToolboxGroupPopup = ((System.Windows.Controls.Primitives.Popup)(target));
- return;
- case 16:
-
- #line 613 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.DockPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolboxGroupPopup_MouseEnter);
-
- #line default
- #line hidden
-
- #line 614 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.DockPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolboxGroupPopup_MouseLeave);
-
- #line default
- #line hidden
- return;
- case 17:
- this.PopupGroupName = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 18:
- this.PopupItems = ((System.Windows.Controls.ItemsControl)(target));
- return;
- case 20:
- this.EditorCanvas = ((TeamAAS.FlowEditor.Controls.FlowCanvas)(target));
- return;
- case 21:
- this.DragPreviewNode = ((System.Windows.Controls.Border)(target));
- return;
- case 22:
- this.DragPreviewIcon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
- return;
- case 23:
- this.DragPreviewText = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 24:
- this.VScrollBar = ((System.Windows.Controls.Primitives.ScrollBar)(target));
-
- #line 676 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.VScrollBar.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.VScrollBar_Scroll);
-
- #line default
- #line hidden
- return;
- case 25:
- this.HScrollBar = ((System.Windows.Controls.Primitives.ScrollBar)(target));
-
- #line 681 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- this.HScrollBar.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.HScrollBar_Scroll);
-
- #line default
- #line hidden
- return;
- case 26:
- this.Minimap = ((TeamAAS.FlowEditor.Controls.MinimapControl)(target));
- return;
- case 27:
- this.LoadingOverlay = ((System.Windows.Controls.Border)(target));
- return;
- case 28:
- this.RightTopSlot = ((System.Windows.Controls.ContentControl)(target));
- return;
- case 29:
- this.NodeInfoSlot = ((System.Windows.Controls.ContentControl)(target));
- return;
- }
- this._contentLoaded = true;
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 10:
-
- #line 545 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolboxItem_MouseLeftButtonDown);
-
- #line default
- #line hidden
-
- #line 546 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.ToolboxItem_MouseMove);
-
- #line default
- #line hidden
- break;
- case 14:
-
- #line 590 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.GroupTag_MouseEnter);
-
- #line default
- #line hidden
-
- #line 591 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.GroupTag_MouseLeave);
-
- #line default
- #line hidden
- break;
- case 19:
-
- #line 623 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolboxItem_MouseLeftButtonDown);
-
- #line default
- #line hidden
-
- #line 624 "..\..\..\..\..\FlowEditor\FlowEditorView.xaml"
- ((System.Windows.Controls.Border)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.ToolboxItem_MouseMove);
-
- #line default
- #line hidden
- break;
- }
- }
- }
- }
|