Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow1.xaml"
                ((Seal2D.Wpf.Test1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this.host = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));

            #line 133 "..\..\MainWindow1.xaml"
                this.host.MouseMove += new System.Windows.Input.MouseEventHandler(this.host_MouseMove);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 public static void Read(DockingManager dockingManager, string fileName)
 {
    /* if (File.Exists(fileName) == false) return; 
     var serializer = new XmlLayoutSerializer(dockingManager);
     using (var stream = new StreamReader(fileName))
         serializer.Deserialize(stream);*/
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemStagingClickEvent);

            #line default
            #line hidden
                return;

            case 2:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemRefferalClickEvent);

            #line default
            #line hidden
                return;

            case 3:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 4:
                this.user_control_diagnosis = ((libCancerControls.usrControlDiagnosis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\..\Shell\ShellViewMetro.xaml"
                ((Wide.Shell.ShellViewMetro)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing_1);

            #line default
            #line hidden
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.WideStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 4:
                this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 6:
                this.VerticalPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;

            case 7:
                this.HorizontalPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 3:

            #line 160 "..\..\..\..\..\..\Samples\AvalonDock\Views\AvalonDockView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 164 "..\..\..\..\..\..\Samples\AvalonDock\Views\AvalonDockView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainView.xaml"
                ((AvalonDockExam.MainView)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this._maingrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 4:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
		public LayoutManager(DockingManager dockingManager)
		{
			if (dockingManager == null)
				throw new ArgumentNullException(nameof(dockingManager));

			DockingManager = dockingManager;
		}
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._demo = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.ThemingAvalonDockView)(target));
                return;

            case 2:

            #line 33 "..\..\..\..\..\..\Samples\Theming\Views\ThemingAvalonDockView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 3:
                this._themeCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.metroDarkComboBoxItem = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.AvalonDockComboBoxItem)(target));
                return;

            case 5:
                this.metroLightComboBoxItem = ((Xceed.Wpf.Toolkit.LiveExplorer.Samples.Theming.Views.AvalonDockComboBoxItem)(target));
                return;

            case 6:
                this.SampleBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 8:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 9:
                this._openSourceScreenShot = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this._openSourceTextHyperlink = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:

            #line 313 "..\..\..\..\..\..\Samples\Theming\Views\ThemingAvalonDockView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.docking_In_Sight = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.File = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 3:
                this.Network = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 4:
                this.Step = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 5:
                this.Palette = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 2:
                this.item_AddNew = ((System.Windows.Controls.MenuItem)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.item_AddNew.Click += new System.Windows.RoutedEventHandler(this.item_AddNew_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 4:
                this.layOutPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public DockingManagerLayoutContentSyncBehavior(DockingManager dockingManager)
 {
     if (dockingManager == null)
     {
         throw new ArgumentNullException("dockingManager");
     }
     m_DockingManager = dockingManager;
 }
Example #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ToolBarTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 2:
                this.DockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 4:
                this.AMLDocumentTree = ((Aml.Toolkit.View.AMLTreeView)(target));
                return;

            case 5:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 6:
                this.Floating = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorableFloatingWindow)(target));
                return;

            case 7:
                this.FloatingPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 8:
                this.LeftTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 9:
                this.RightTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 10:
                this.TopTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 11:
                this.BottomTabSide = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 12:
                this.statusLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.LayoutTransformSlider = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
		void LayoutDesignerView_Loaded(object sender, RoutedEventArgs e)
		{
			if (Manager == null)
			{
				var binding = new Binding("Manager") { Mode = BindingMode.OneWayToSource };
				var expression = SetBinding(ManagerProperty, binding);
				Manager = manager;
			}
		}
		private void TemplateContainerPartView_Loaded(object sender, RoutedEventArgs e)
		{
			if (Manager == null)
			{
				var binding = new Binding("LayoutContainer.Manager") { Mode = BindingMode.OneWayToSource };
				var expression = SetBinding(ManagerProperty, binding);
				Manager = manager;
			}
		}
Example #15
0
 public void Save(DockingManager manager)
 {
     string path = GetDockLayoutPath();
     XmlLayoutSerializer layoutSerializer = new XmlLayoutSerializer(manager);
     using (var writer = new System.IO.StreamWriter(path))
     {
         layoutSerializer.Serialize(writer);
     }
 }
Example #16
0
        public static void LoadLayout(DockingManager manager, Stream stream, Action<IDocument> addDocumentCallback,
                                      Action<ITool> addToolCallback, Dictionary<string, ILayoutItem> items)
        {
            var layoutSerializer = new XmlLayoutSerializer(manager);

            layoutSerializer.LayoutSerializationCallback += (s, e) =>
            {
                ILayoutItem item;
                if (items.TryGetValue(e.Model.ContentId, out item))
                {
                    e.Content = item;

                    var tool = item as ITool;
                    var anchorable = e.Model as LayoutAnchorable;

                    var document = item as IDocument;
                    var layoutDocument = e.Model as LayoutDocument;

                    if (tool != null && anchorable != null)
                    {
                        addToolCallback(tool);
                        tool.IsVisible = anchorable.IsVisible;

                        if (anchorable.IsActive)
                            tool.Activate();

                        tool.IsSelected = e.Model.IsSelected;

                        return;
                    }

                    if (document != null && layoutDocument != null)
                    {
                        addDocumentCallback(document);

                        // Nasty hack to get around issue that occurs if documents are loaded from state,
                        // and more documents are opened programmatically.
                        layoutDocument.GetType().GetProperty("IsLastFocusedDocument").SetValue(layoutDocument, false, null);

                        document.IsSelected = layoutDocument.IsSelected;
                        return;
                    }
                }

                // Don't create any panels if something went wrong.
                e.Cancel = true;
            };

            try
            {
                layoutSerializer.Deserialize(stream);
            }
            catch
            {
            }
        }
Example #17
0
        public DockPage(DockingManager t)
        {
            if (dockManagerHasInstanced == true)
            {
                throw new ApplicationException("Dock管理应为单例模式!");
            }

            dockManagerHasInstanced = true;
            _dManager = t;
        }
Example #18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.docking_In_Sight = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
         return;
     }
     this._contentLoaded = true;
 }
Example #19
0
		public LayoutManager(DockingManager dockingManager)
		{
			if (dockingManager == null)
				throw new ArgumentNullException(nameof(dockingManager));

			DockingManager = dockingManager;
			DockingManager.LayoutChanged += OnDockingManagerLayoutChanged;
			DockingManager.DocumentClosing += OnDockingManagerDocumentClosing;
			DockingManager.DocumentClosed += OnDockingManagerDocumentClosed;

			OnDockingManagerLayoutChanged(null, null);
		}
 /// <summary>
 /// Save the docking style to file
 /// </summary>
 /// <param name="dm">the docking manager</param>
 public static void Save(DockingManager dm)
 {
     using (var sw = new StreamWriter("designer.dock"))
     {
         using (StringWriter fs = new StringWriter())
         {
             XmlLayoutSerializer xmlLayout = new XmlLayoutSerializer(dm);
             xmlLayout.Serialize(fs);
             sw.Write(fs.ToString());
         }
     }
 }
Example #21
0
        public void SetManager(object manager)
        {
            if ( !( manager is DockingManager ) )
            {
                throw new Exception("This module currently supports only AvalonDock.DockingManager");
            }

            m_DockManager = ( DockingManager ) manager;
            m_Layouts =
                new List <LayoutAnchorablePane>(m_DockManager.Layout.Descendents().OfType <LayoutAnchorablePane>());

            InitializeDockingCenter();
        }
Example #22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((Main.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.newMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.dataBrowser = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.dataBrowser.Click += new System.Windows.RoutedEventHandler(this.dataBrowser_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.queryBrowser = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.queryBrowser.Click += new System.Windows.RoutedEventHandler(this.queryBrowser_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.themes = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.docker = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 7:
                this.docPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.maingrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.modeBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.beginBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.dockmanager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 5:
                this.manager = ((ElectricAnalysis.View.ResourceManager)(target));
                return;

            case 6:
                this.middlePanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;

            case 7:
                this.ShowPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 8:
                this.msglist = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 9:
                this.msgbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.branchView = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 11:
                this.branchPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CogPath = ((System.Windows.Shapes.Path)(target));
                return;

            case 2:
                this.MyDockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;
            }
            this._contentLoaded = true;
        }
 /// <summary>
 /// load the dockign style from file
 /// </summary>
 /// <param name="dm">the docking manager</param>
 public static void Load(DockingManager dm)
 {
     if (File.Exists("designer.dock"))
     {
         XmlLayoutSerializer xmlLayout = new XmlLayoutSerializer(dm);
         using (var fs = new FileStream("designer.dock", FileMode.OpenOrCreate))
         {
             xmlLayout.Deserialize(fs);
         }
     }
     else
     {
         // load default dock from ressource
     }
 }
Example #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.first_Queue_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.Second_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.finish_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.Doctor_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.HouzhenList = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.wanzhenduilie = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:
                this.Doctor_name_text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.Doctor_id_text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.Doctor_number_text = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #27
0
        public void Load(DockingManager manager)
        {
            string path = GetDockLayoutPath();
            if (VerifyLayout(path))
            {
                XmlLayoutSerializer layoutSerializer = new XmlLayoutSerializer(manager);
                layoutSerializer.LayoutSerializationCallback += (s, args) =>
                {
                    args.Content = args.Content;
                };

                using (var reader = new System.IO.StreamReader(path))
                {
                    layoutSerializer.Deserialize(reader);
                }
            }
        }
Example #28
0
        public static UiMainDockableControl[] CreateKnownDockables(DockingManager dockingManager)
        {
            Type currentType = typeof(UiMainDockableControl);
            Assembly currentAssymbly = Assembly.GetExecutingAssembly();

            Type[] types = currentAssymbly.GetTypes();
            SortedList<int, UiMainDockableControl> list = new SortedList<int, UiMainDockableControl>();
            foreach (Type type in types)
            {
                if (!type.IsSubclassOf(currentType))
                    continue;

                UiMainDockableControl dockableControl = (UiMainDockableControl)Activator.CreateInstance(type);
                dockableControl.DockingManager = dockingManager;
                list.Add(dockableControl.Index, dockableControl);
            }
            return list.Values.ToArray();
        }
Example #29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((RakunWin32.RakunStudio)(target));
                return;

            case 2:
                this.dockManager = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.MIPort = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.MIBoundrate = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.MIDatabit = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 10:
                this.RootLayout = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 11:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 12:
                this.Monitor = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #30
0
		private void LayoutDialogView_Loaded(object sender, RoutedEventArgs e)
		{
			var layoutDialogViewModel = DataContext as LayoutDialogViewModel;
			if (layoutDialogViewModel != null)
			{
				if (layoutDialogViewModel.Data.CustomPosition)
				{
					layoutDialogViewModel.Surface.WindowStartupLocation = WindowStartupLocation.Manual;
					layoutDialogViewModel.Surface.Left = layoutDialogViewModel.Data.Left;
					layoutDialogViewModel.Surface.Top = layoutDialogViewModel.Data.Top;
				}
			}

			if (Manager == null)
			{
				var binding = new Binding("LayoutContainer.Manager") { Mode = BindingMode.OneWayToSource };
				var expression = SetBinding(ManagerProperty, binding);
				Manager = manager;
			}
		}
Example #31
0
        public UiMainWindow()
        {
            #region Construct

            Assembly assembly = Assembly.GetEntryAssembly();
            FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
            Title = String.Format("{0} {1} {2}", fvi.ProductName, fvi.FileVersion, fvi.LegalCopyright);

            Width = 640;
            Height = 480;
            WindowStartupLocation = WindowStartupLocation.CenterScreen;
            WindowState = WindowState.Maximized;

            UiGrid root = UiGridFactory.Create(2, 1);
            root.RowDefinitions[0].Height = GridLength.Auto;

            DockingManager dockingManager = new DockingManager();
            {
                root.AddUiElement(dockingManager, 1, 0);
                _layoutSerializer = new XmlLayoutSerializer(dockingManager);
                _layoutSerializer.LayoutSerializationCallback += OnLayoutDeserialized;
            }

            _mainMenu = UiMenuFactory.Create();
            {
                _mainMenuView = _mainMenu.AddChild(UiMenuItemFactory.Create("Вид"));
                {
                    foreach (UiMainDockableControl dockable in UiMainDockableControl.CreateKnownDockables(dockingManager))
                        _mainMenuView.AddChild(dockable.CreateMenuItem());
                }

                root.AddUiElement(_mainMenu, 0, 0);
            }

            Content = root;

            #endregion

            Loaded += OnLoaded;
            Closing += OnClosing;
        }
Example #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Instance = ((ISC.View.Views.EasyBuild.EasybuildView)(target));
                return;

            case 2:
                this.docking_In_Sight = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this.InSight_File = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 4:
                this.Network = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((AvalonDock.MVVMTestApp.MainWindow)(target));
                return;

            case 2:

            #line 52 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnDumpToConsole);

            #line default
            #line hidden
                return;

            case 3:
                this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;
            }
            this._contentLoaded = true;
        }
        public MainWindowViewModel(DockingManager dm, WorkflowDesigner wf)
        {
            SaveCommand = new DelegateCommand((o) =>
            {
                var of = new SaveFileDialog();
                of.Filter = "Workflow File (*.wf;*.xaml)|*.wf;*.xaml";

                if (of.ShowDialog().Value)
                {
                    wf.Save(of.FileName);
                }
            }, (o) => true);

            LoadCommand = new DelegateCommand((o) =>
            {
                var of = new OpenFileDialog();
                of.Filter = "Workflow File (*.wf;*.xaml)|*.wf;*.xaml";

                if (of.ShowDialog().Value)
                {
                    wf.Load(of.FileName);
                }
            }, (o) => true);
        }
Example #35
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((Audit.Ui.MainWindowView)(target));
     return;
     case 2:
     this.layoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.BtnShortCutClose = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.TopPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 5:
     this.BtnEdit = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.BtnImp = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.BtnAudit = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.BtnMethod = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.BtnReport = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.BtnHelp = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.BtnProject = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.BtnCancel = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 14:
     this.dockManager1 = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 15:
     this.dockManager2 = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 16:
     this.dockManager3 = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 17:
     this.TxtMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #36
0
 public AvalonDockSystem(Xceed.Wpf.AvalonDock.DockingManager dman, int ver)
 {
     this.DockSystem = dman;
     this.Version    = ver;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.xiami_userid = ((System.Windows.Controls.TextBox)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.xiami_userid.GotFocus += new System.Windows.RoutedEventHandler(this.Xiami_userid_GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.sychro_songlist = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.sychro_songlist.Click += new System.Windows.RoutedEventHandler(this.Sychro_songlist_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Music_World = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.Mic_List = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.xmid = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.xmid.GotFocus += new System.Windows.RoutedEventHandler(this.Xmid_GotFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.recommend_songlist = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.recommend_songlist.Click += new System.Windows.RoutedEventHandler(this.recommend_songlist_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Music_Recommend = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.music_search_name = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.music_search_name.GotFocus += new System.Windows.RoutedEventHandler(this.Music_search_name_GotFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.xiami_music_search = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\MainWindow.xaml"
                this.xiami_music_search.Click += new System.Windows.RoutedEventHandler(this.Xiami_music_search_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.qq_music_search = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\MainWindow.xaml"
                this.qq_music_search.Click += new System.Windows.RoutedEventHandler(this.Qq_music_search_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.netease_music_search = ((System.Windows.Controls.Button)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.netease_music_search.Click += new System.Windows.RoutedEventHandler(this.Netease_music_search_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.kuwo_music_search = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.kuwo_music_search.Click += new System.Windows.RoutedEventHandler(this.Kuwo_music_search_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.kugou_music_search = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.kugou_music_search.Click += new System.Windows.RoutedEventHandler(this.Kugou_music_search_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.qianqian_music_search = ((System.Windows.Controls.Button)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.qianqian_music_search.Click += new System.Windows.RoutedEventHandler(this.Qianqian_music_search_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.migu_music_search = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.migu_music_search.Click += new System.Windows.RoutedEventHandler(this.Migu_music_search_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #39
0
 public static void Write(DockingManager dockingManager, string fileName)
 {
   /*  var serializer = new XmlLayoutSerializer(dockingManager);
     using (var stream = new StreamWriter(fileName))
         serializer.Serialize(stream);*/
 }
Example #40
0
 public DockPage(DockingManager t)
 {
     _dManager = t;
 }
Example #41
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NewCommand);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 10 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenCommand);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 11 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SaveCommand);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 22 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewProject_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 45 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleScripts);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 46 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleMaps);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 47 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleCustomers);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 48 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleNodes);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 49 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleLinks);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 50 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleServices);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 51 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleConnections);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 52 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleStartPage);
     
     #line default
     #line hidden
     return;
     case 13:
     this.dockingmanager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 14:
     this.m_LayoutPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #42
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((AvalonDockModule.MainView)(target));
     return;
     case 2:
     
     #line 35 "..\..\MainView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnDumpToConsole);
     
     #line default
     #line hidden
     return;
     case 3:
     this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     }
     this._contentLoaded = true;
 }
		void LayoutPartTemplateContainerView_Loaded(object sender, RoutedEventArgs e)
		{
			var binding = new Binding("Manager") { Mode = BindingMode.OneWayToSource };
			var expression = SetBinding(ManagerProperty, binding);
			Manager = manager2;
		}
Example #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.RootVisual = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.TopMenuGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.PlatformTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 5:
                this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 6:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 7:
                this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 8:
                this.projectBox = ((System.Windows.Controls.ListBox)(target));

            #line 81 "..\..\..\ProjectListPage\ProjectListNormal.xaml"
                this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.MapPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 10:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 11:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 12:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 13:
                this.mapTip = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 15:
                this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WpfQuery.MainWindow)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.window.Closed += new System.EventHandler(this.window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.ribbon = ((Fluent.Ribbon)(target));
                return;

            case 3:

            #line 31 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExitSystem);

            #line default
            #line hidden
                return;

            case 4:
                this.btnLogin = ((Fluent.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.Login);

            #line default
            #line hidden
                return;

            case 5:

            #line 41 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Setting);

            #line default
            #line hidden
                return;

            case 6:

            #line 42 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.About);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSkin = ((Fluent.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.btnSkin.Click += new System.Windows.RoutedEventHandler(this.SkinClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 46 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExitSystem);

            #line default
            #line hidden
                return;

            case 9:

            #line 53 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.IncludeQuery);

            #line default
            #line hidden
                return;

            case 10:

            #line 54 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RankQuery);

            #line default
            #line hidden
                return;

            case 11:

            #line 55 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TitleQuery);

            #line default
            #line hidden
                return;

            case 12:

            #line 56 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RankStat);

            #line default
            #line hidden
                return;

            case 13:

            #line 59 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlatformQuery);

            #line default
            #line hidden
                return;

            case 14:

            #line 60 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConditionQuery);

            #line default
            #line hidden
                return;

            case 15:

            #line 61 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.KeyCover);

            #line default
            #line hidden
                return;

            case 16:

            #line 64 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BasicInfo);

            #line default
            #line hidden
                return;

            case 17:

            #line 65 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LogParser);

            #line default
            #line hidden
                return;

            case 18:

            #line 68 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.KeyDig);

            #line default
            #line hidden
                return;

            case 19:

            #line 69 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SentenceSplit);

            #line default
            #line hidden
                return;

            case 20:

            #line 70 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Post);

            #line default
            #line hidden
                return;

            case 21:

            #line 71 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Gather);

            #line default
            #line hidden
                return;

            case 22:

            #line 72 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DownloadWeb);

            #line default
            #line hidden
                return;

            case 23:

            #line 73 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Downword);

            #line default
            #line hidden
                return;

            case 24:

            #line 74 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RelatedSearch);

            #line default
            #line hidden
                return;

            case 25:

            #line 80 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BaiduIndex);

            #line default
            #line hidden
                return;

            case 26:

            #line 81 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.KeywordAnalyze);

            #line default
            #line hidden
                return;

            case 27:

            #line 87 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.IISConfig);

            #line default
            #line hidden
                return;

            case 28:

            #line 88 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Ping);

            #line default
            #line hidden
                return;

            case 29:

            #line 94 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BaiduAccount);

            #line default
            #line hidden
                return;

            case 30:

            #line 97 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BDKeywordRecommend);

            #line default
            #line hidden
                return;

            case 31:

            #line 98 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CreativeCollection);

            #line default
            #line hidden
                return;

            case 32:

            #line 101 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BDWMInterest);

            #line default
            #line hidden
                return;

            case 33:

            #line 104 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SogouAccount);

            #line default
            #line hidden
                return;

            case 34:

            #line 105 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SogouKRService);

            #line default
            #line hidden
                return;

            case 35:
                this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 36:
                this.defaultBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainAppWindow = ((DEA3.MainWindow)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.MainAppWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainAppWindow_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.MainAppWindow.Unloaded += new System.Windows.RoutedEventHandler(this.MainAppWindow_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Dp_Main = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.Menu_file = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.Menu_file_create = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.Menu_file_open = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.Menu_file_save = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.Menu_Sys_exit = ((System.Windows.Controls.MenuItem)(target));

            #line 121 "..\..\..\MainWindow.xaml"
                this.Menu_Sys_exit.Click += new System.Windows.RoutedEventHandler(this.Menu_Sys_exit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Menu_file_AddNew = ((System.Windows.Controls.MenuItem)(target));

            #line 122 "..\..\..\MainWindow.xaml"
                this.Menu_file_AddNew.Click += new System.Windows.RoutedEventHandler(this.item_AddNew_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Menu_Test = ((System.Windows.Controls.MenuItem)(target));

            #line 123 "..\..\..\MainWindow.xaml"
                this.Menu_Test.Click += new System.Windows.RoutedEventHandler(this.Menu_Test_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Menu_Sys = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.Menu_Sys_con = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.Menu_exterior = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.miGeneric = ((System.Windows.Controls.MenuItem)(target));

            #line 129 "..\..\..\MainWindow.xaml"
                this.miGeneric.Click += new System.Windows.RoutedEventHandler(this.miGeneric_Click_1);

            #line default
            #line hidden
                return;

            case 14:
                this.miDark = ((System.Windows.Controls.MenuItem)(target));

            #line 130 "..\..\..\MainWindow.xaml"
                this.miDark.Click += new System.Windows.RoutedEventHandler(this.miDark_Click_1);

            #line default
            #line hidden
                return;

            case 15:
                this.miLight = ((System.Windows.Controls.MenuItem)(target));

            #line 131 "..\..\..\MainWindow.xaml"
                this.miLight.Click += new System.Windows.RoutedEventHandler(this.miLight_Click_1);

            #line default
            #line hidden
                return;

            case 16:
                this.miMetro = ((System.Windows.Controls.MenuItem)(target));

            #line 132 "..\..\..\MainWindow.xaml"
                this.miMetro.Click += new System.Windows.RoutedEventHandler(this.miMetro_Click_1);

            #line default
            #line hidden
                return;

            case 17:
                this.miVS = ((System.Windows.Controls.MenuItem)(target));

            #line 133 "..\..\..\MainWindow.xaml"
                this.miVS.Click += new System.Windows.RoutedEventHandler(this.miVS_Click_1);

            #line default
            #line hidden
                return;

            case 18:
                this.Menu_help = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.Tool_But_Project = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\..\MainWindow.xaml"
                this.Tool_But_Project.Click += new System.Windows.RoutedEventHandler(this.Tool_But_Project_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Tool_But_Exit = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\..\MainWindow.xaml"
                this.Tool_But_Exit.Click += new System.Windows.RoutedEventHandler(this.Tool_But_Exit_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.statusBar_1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 22:
                this.statusBar_CapsLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.statusBar_NumLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.statusBar_InsertLock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 26:
                this.layOutPaneTree = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 27:
                this.TreeView_Project = ((System.Windows.Controls.TreeView)(target));

            #line 194 "..\..\..\MainWindow.xaml"
                this.TreeView_Project.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Project_Loaded);

            #line default
            #line hidden
                return;

            case 28:
                this.layOutPaneContent = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.beRemote = ((beRemote.GUI.MainWindow)(target));

            #line 28 "..\..\..\MainWindow.xaml"
                this.beRemote.SizeChanged += new System.Windows.SizeChangedEventHandler(this.beRemote_SizeChanged);

            #line default
            #line hidden

            #line 29 "..\..\..\MainWindow.xaml"
                this.beRemote.LocationChanged += new System.EventHandler(this.beRemote_LocationChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.viewModel = ((beRemote.GUI.ViewModel.ViewModelMain)(target));
                return;

            case 3:
                this.spLogin = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.tbPleaseLogin = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.tbLoginUsername = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.tbLoginPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.pbLoginPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.grdChangePw = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.pbOld = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 10:
                this.pbNew1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 11:
                this.pbNew2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 12:
                this.lblOldPw = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblNewPw = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblNewPwRep = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.grdCreateAccount = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.txtCreateAccountUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.txtCreateAccountDisplayname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.pbCreateAccountPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 247 "..\..\..\MainWindow.xaml"
                this.pbCreateAccountPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.pbCreateAccountPassword_PasswordChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.pbCreateAccountPassword2 = ((System.Windows.Controls.PasswordBox)(target));

            #line 250 "..\..\..\MainWindow.xaml"
                this.pbCreateAccountPassword2.PasswordChanged += new System.Windows.RoutedEventHandler(this.pbCreateAccountPassword2_PasswordChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.tabGroupFilter = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 23:
                this.tabGroupVpn = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 24:
                this.adMainDock = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 25:
                this.tvConList = ((beRemote.GUI.Controls.beTreeView)(target));
                return;

            case 26:
                this.cmbFilter = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 27:
                this.txtQuickConnect = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.lblQuickConnect = ((System.Windows.Controls.Border)(target));
                return;

            case 29:
                this.cmbQuickConnect = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 19 "..\..\..\Shell\ShellViewMetro.xaml"
     ((Wide.Shell.ShellViewMetro)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing_1);
     
     #line default
     #line hidden
     return;
     case 2:
     this.mainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     this.WideStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 4:
     this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 6:
     this.VerticalPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
     return;
     case 7:
     this.HorizontalPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #49
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((YGOProDevelop.MainWindow)(target));
     
     #line 22 "..\..\..\View\MainWindow.xaml"
     this.window.Closing += new System.ComponentModel.CancelEventHandler(this.window_Closing);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\View\MainWindow.xaml"
     this.window.Loaded += new System.Windows.RoutedEventHandler(this.window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.themesMenu = ((System.Windows.Controls.MenuItem)(target));
     
     #line 96 "..\..\..\View\MainWindow.xaml"
     this.themesMenu.Click += new System.Windows.RoutedEventHandler(this.themesMenu_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 105 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 106 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 6:
     this.toolbarTray = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 7:
     this.dock = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #50
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.munMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     this.fileSave = ((System.Windows.Controls.MenuItem)(target));
     
     #line 18 "..\..\MainWindow.xaml"
     this.fileSave.Click += new System.Windows.RoutedEventHandler(this.fileSave_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.fileLoad = ((System.Windows.Controls.MenuItem)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this.fileLoad.Click += new System.Windows.RoutedEventHandler(this.fileLoad_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.programExit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.programExit.Click += new System.Windows.RoutedEventHandler(this.programExit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.miLeft = ((System.Windows.Controls.MenuItem)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.miLeft.Click += new System.Windows.RoutedEventHandler(this.imageLoad_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.miRight = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 7:
     this.miTop = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 8:
     this.miBottom = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 9:
     this.miAnchorPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.miAnchorVerticalPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 11:
     this.miDocumentPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 12:
     this.priorityPane = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 13:
     this.miAddAnchroable = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 14:
     this.miAddDocument = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 15:
     this.miOutPutWnd = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 16:
     this.miAutoHide = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 17:
     this.miGeneric = ((System.Windows.Controls.MenuItem)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.miGeneric.Click += new System.Windows.RoutedEventHandler(this.themeGeneric_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.miAero = ((System.Windows.Controls.MenuItem)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.miAero.Click += new System.Windows.RoutedEventHandler(this.themeAero_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.miDark = ((System.Windows.Controls.MenuItem)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.miDark.Click += new System.Windows.RoutedEventHandler(this.themeDark_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.miLight = ((System.Windows.Controls.MenuItem)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.miLight.Click += new System.Windows.RoutedEventHandler(this.themeLight_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.miMetro = ((System.Windows.Controls.MenuItem)(target));
     
     #line 50 "..\..\MainWindow.xaml"
     this.miMetro.Click += new System.Windows.RoutedEventHandler(this.themeMetro_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.miVS = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.miVS.Click += new System.Windows.RoutedEventHandler(this.themeVS_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.DockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 24:
     this.Root = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
     return;
     case 25:
     this.Panel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
     return;
     case 26:
     this.LeftAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
     return;
     case 27:
     this.LeftPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
     return;
     case 28:
     this.Solution = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
     return;
     case 29:
     this.mToolBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 30:
     this.TemperaPanel = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 31:
     this.MonitorControl = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 32:
     this.MotionSensor = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 33:
     this.WindowMagnet = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 34:
     this.DocumentGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPaneGroup)(target));
     return;
     case 35:
     this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
     return;
     case 36:
     this.mEidtor = ((System.Windows.Controls.Canvas)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.mEidtor.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);
     
     #line default
     #line hidden
     
     #line 83 "..\..\MainWindow.xaml"
     this.mEidtor.Drop += new System.Windows.DragEventHandler(this.OnDrop);
     
     #line default
     #line hidden
     return;
     case 37:
     this.backgroundImage = ((System.Windows.Media.ImageBrush)(target));
     return;
     case 38:
     this.RightAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
     return;
     case 39:
     this.RightPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
     return;
     case 40:
     this.mEditSize = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 41:
     this.mPosition = ((System.Windows.Controls.ListBoxItem)(target));
     return;
     case 42:
     this.LeftGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 43:
     this.RightGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 44:
     this.TopGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     case 45:
     this.BottomGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #51
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.saveScriptBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     return;
     case 2:
     this.exitMenuBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 105 "..\..\..\Designer.xaml"
     this.exitMenuBtn.Click += new System.Windows.RoutedEventHandler(this.exitMenuBtn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 4:
     this.Clear = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 5:
     this.deleteStep = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 122 "..\..\..\Designer.xaml"
     this.deleteStep.Click += new System.Windows.RoutedEventHandler(this.deleteStep_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.RefreshBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 7:
     this.Duplicate = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 8:
     this.CutStep = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 149 "..\..\..\Designer.xaml"
     this.CutStep.Click += new System.Windows.RoutedEventHandler(this.CutStep_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.CopyStep = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 153 "..\..\..\Designer.xaml"
     this.CopyStep.Click += new System.Windows.RoutedEventHandler(this.CopyStep_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.PasteStep = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 11:
     this.moveUp = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 171 "..\..\..\Designer.xaml"
     this.moveUp.Click += new System.Windows.RoutedEventHandler(this.moveUp_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.moveDw = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 177 "..\..\..\Designer.xaml"
     this.moveDw.Click += new System.Windows.RoutedEventHandler(this.moveDw_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.debugBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonToggleButton)(target));
     
     #line 197 "..\..\..\Designer.xaml"
     this.debugBtn.Click += new System.Windows.RoutedEventHandler(this.debugBtn_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.runBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 231 "..\..\..\Designer.xaml"
     this.runBtn.Click += new System.Windows.RoutedEventHandler(this.runBtn_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.reportBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 265 "..\..\..\Designer.xaml"
     this.reportBtn.Click += new System.Windows.RoutedEventHandler(this.reportBtn_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.aboutBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     
     #line 270 "..\..\..\Designer.xaml"
     this.aboutBtn.Click += new System.Windows.RoutedEventHandler(this.aboutBtn_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.settingBtn = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 18:
     this.myDock = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 19:
     this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
     return;
     case 20:
     this.TestListGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 364 "..\..\..\Designer.xaml"
     this.TestListGrid.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.TestListGrid_LoadingRow);
     
     #line default
     #line hidden
     
     #line 366 "..\..\..\Designer.xaml"
     this.TestListGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TestListGrid_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.suiteDescriptionTxb = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.ClearTearSuiteDownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 432 "..\..\..\Designer.xaml"
     this.ClearTearSuiteDownBtn.Click += new System.Windows.RoutedEventHandler(this.ClearTearSuiteDownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.treeView11 = ((System.Windows.Controls.TreeView)(target));
     return;
     case 25:
     this.stackTree = ((System.Windows.Controls.StackPanel)(target));
     
     #line 773 "..\..\..\Designer.xaml"
     this.stackTree.RequestBringIntoView += new System.Windows.RequestBringIntoViewEventHandler(this.stackTree_RequestBringIntoView);
     
     #line default
     #line hidden
     return;
     case 26:
     this.searchControl = ((AutomationClient.SerachUserControl)(target));
     return;
     case 27:
     this.ScriptsTreeView = ((System.Windows.Controls.TreeView)(target));
     
     #line 779 "..\..\..\Designer.xaml"
     this.ScriptsTreeView.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ScriptsTreeView_PreviewMouseWheel);
     
     #line default
     #line hidden
     return;
     case 30:
     this.scriptGroupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 31:
     this.dgStepEntities = ((System.Windows.Controls.DataGrid)(target));
     
     #line 950 "..\..\..\Designer.xaml"
     this.dgStepEntities.Loaded += new System.Windows.RoutedEventHandler(this.dgStepEntities_Loaded);
     
     #line default
     #line hidden
     
     #line 951 "..\..\..\Designer.xaml"
     this.dgStepEntities.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.dgStepEntities_LoadingRow);
     
     #line default
     #line hidden
     
     #line 952 "..\..\..\Designer.xaml"
     this.dgStepEntities.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgStepEntities_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 954 "..\..\..\Designer.xaml"
     this.dgStepEntities.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgStepEntities_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 34:
     this.scriptDescriptionTxb = ((System.Windows.Controls.TextBox)(target));
     return;
     case 35:
     this.testDescriptionTxb = ((System.Windows.Controls.TextBox)(target));
     return;
     case 36:
     this.testDataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 1162 "..\..\..\Designer.xaml"
     this.testDataGrid.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.testDataGrid_LoadingRow);
     
     #line default
     #line hidden
     
     #line 1165 "..\..\..\Designer.xaml"
     this.testDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 38:
     this.autoScrollChk = ((System.Windows.Controls.CheckBox)(target));
     
     #line 1281 "..\..\..\Designer.xaml"
     this.autoScrollChk.Click += new System.Windows.RoutedEventHandler(this.autoScrollChk_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.executionDatagrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 40:
     this.variablesDataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 1406 "..\..\..\Designer.xaml"
     this.variablesDataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.variablesDataGrid_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 41:
     this.varDataTxb = ((System.Windows.Controls.TextBox)(target));
     return;
     case 42:
     this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\MainWindow.xaml"
                ((SpectrumScanner.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainDockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this.layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 4:
                this.layoutPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutPanel)(target));
                return;

            case 5:
                this.layoutAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
                return;

            case 6:
                this.leftPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 7:
                this.taskList = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 8:

            #line 67 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_1);

            #line default
            #line hidden
                return;

            case 9:

            #line 68 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_2);

            #line default
            #line hidden
                return;

            case 10:

            #line 69 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_3);

            #line default
            #line hidden
                return;

            case 11:

            #line 70 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ListBoxItem_Selected_4);

            #line default
            #line hidden
                return;

            case 12:
                this.DocumentGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPaneGroup)(target));
                return;

            case 13:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 14:
                this.layoutDocument = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocument)(target));
                return;

            case 15:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 17:
                this.border2 = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.border3 = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.border4 = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.RightAnchorableGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePaneGroup)(target));
                return;

            case 21:
                this.RightPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 22:
                this.leftGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 23:
                this.rightGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 24:
                this.topGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;

            case 25:
                this.bottomGroup = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.First_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:

            #line 54 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckIn);

            #line default
            #line hidden
                return;

            case 5:
                this.Triage_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:

            #line 84 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Triage);

            #line default
            #line hidden
                return;

            case 8:
                this.TriageOfficeList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.Second_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:

            #line 114 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.back_to_triage);

            #line default
            #line hidden
                return;

            case 12:

            #line 121 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Register);

            #line default
            #line hidden
                return;

            case 13:
                this.PatientView = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:
                this.Waiting_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 16:

            #line 181 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.watch);

            #line default
            #line hidden
                return;

            case 17:
                this.Watching_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 18:

            #line 201 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.to_finish);

            #line default
            #line hidden
                return;

            case 19:

            #line 202 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.back_to_second);

            #line default
            #line hidden
                return;

            case 20:
                this.Finish_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:

            #line 223 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.leave);

            #line default
            #line hidden
                return;

            case 22:
                this.Doctor_Name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.Doctor_Profile = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.Doctor_StartTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.Doctor_EndTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.SelectedOfficeList = ((System.Windows.Controls.ComboBox)(target));

            #line 249 "..\..\patient_watch.xaml"
                this.SelectedOfficeList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectedOfficeList_Selected);

            #line default
            #line hidden
                return;

            case 27:

            #line 251 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectedOfficeList_Selected);

            #line default
            #line hidden
                return;

            case 28:
                this.RegisterPatient = ((System.Windows.Controls.ListView)(target));
                return;

            case 29:
                this.add_patient_butt = ((System.Windows.Controls.Button)(target));

            #line 280 "..\..\patient_watch.xaml"
                this.add_patient_butt.Click += new System.Windows.RoutedEventHandler(this.add_patient_butt_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.remove_butt = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.DoctorView = ((System.Windows.Controls.ListView)(target));
                return;

            case 32:
                this.add_doctor_butt = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.remove_doctor_butt = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openFileDialog = ((Nevala.OpenFileDialog)(target));
                return;

            case 2:
                this.menuStrip = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.newMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.openMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.saveMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.saveAsMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.saveAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.closeMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.closeAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.printMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.exitMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.undoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.redoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.cutMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.copyMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.pasteMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.SelectLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.SelectAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.ClearSelection = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 20:
                this.IncrementalSearchMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 21:
                this.FindMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 22:
                this.ReplaceMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 23:
                this.ReplaceInFilesMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 24:
                this.Go_toMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 25:
                this.ToggleBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 26:
                this.PreviousBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 27:
                this.NextBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 28:
                this.ClearBookmarksMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 29:
                this.MakeUpperCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 30:
                this.MakeLowerCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 31:
                this.zoomIn = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 32:
                this.zoomOut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 33:
                this.lineNumbersMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 34:
                this.wordWrapMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 35:
                this.fold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 36:
                this.unfold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 37:
                this.foldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 38:
                this.unfoldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 39:
                this.Preferences = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 40:
                this.Font = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 41:
                this.Import = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.ShortcutWrapper = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 43:
                this.Run = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 44:
                this.SendviaOutlook = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 45:
                this.PowerHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 47:
                this.BahubaliHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 48:
                this.toolStrip = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 49:
                this.dockPanel = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 50:
                this.documentsRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 51:
                this.FolderView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 52:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 53:
                this.Python = ((System.Windows.Controls.TabItem)(target));
                return;

            case 54:
                this.phost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 55:
                this.IPython = ((System.Windows.Controls.TabItem)(target));
                return;

            case 56:
                this.ihost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #55
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((Tsuchidasan.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((Tsuchidasan.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.DataWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StatusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.SearchText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     
     #line 13 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.StatusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     
     #line 23 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 40 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 10:
     this._TreeView = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
     return;
     case 11:
     this.TreeView1 = ((System.Windows.Controls.TreeView)(target));
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.Drop += new System.Windows.DragEventHandler(this.TreeView1_Drop);
     
     #line default
     #line hidden
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.PreviewDragOver += new System.Windows.DragEventHandler(this.TreeView1_PreviewDragOver);
     
     #line default
     #line hidden
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.TreeView1_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((WpfMap.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((WpfMap.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.drawViewScroll_PreviewKeyDown);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((WpfMap.MainWindow)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.drawViewScroll_PreviewKeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 4:
                this.Btn_Add_RFID = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.Btn_Add_RFID.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RFID_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Btn_Add_RouteLine = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.Btn_Add_RouteLine.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RouteLine_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Btn_Add_RouteForkLine = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.Btn_Add_RouteForkLine.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RouteForkLine_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.drawViewScroll = ((System.Windows.Controls.ScrollViewer)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.image_PreviewMouseWheel);

            #line default
            #line hidden

            #line 98 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseRightButtonDown);

            #line default
            #line hidden

            #line 99 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.imageRobot_PreviewMouseMove);

            #line default
            #line hidden

            #line 100 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseRightButtonUp);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.gridDraw = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.sfr = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 10:
                this.tlt = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 11:
                this.cvGrid = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.cvMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.cvLine = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:
                this.cvForkLine = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.cvRFID = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:
                this.cvOperate = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.cbShowGrid = ((System.Windows.Controls.CheckBox)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.cbShowGrid.Click += new System.Windows.RoutedEventHandler(this.CbShowGrid_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.Btn_SaveMap = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\MainWindow.xaml"
                this.Btn_SaveMap.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveMap_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Btn_SaveMapAs = ((System.Windows.Controls.Button)(target));

            #line 140 "..\..\MainWindow.xaml"
                this.Btn_SaveMapAs.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveMapAs_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Btn_LoadMap = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\MainWindow.xaml"
                this.Btn_LoadMap.Click += new System.Windows.RoutedEventHandler(this.Btn_LoadMap_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 163 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 164 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.tbSystemMsg = ((System.Windows.Controls.TextBox)(target));

            #line 190 "..\..\MainWindow.xaml"
                this.tbSystemMsg.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbSystemMsg_TextChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.BtnClearMsg = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\MainWindow.xaml"
                this.BtnClearMsg.Click += new System.Windows.RoutedEventHandler(this.BtnClearMsg_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.bottomsStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 26:
                this.companyLink = ((System.Windows.Documents.Hyperlink)(target));

            #line 256 "..\..\MainWindow.xaml"
                this.companyLink.Click += new System.Windows.RoutedEventHandler(this.CompanyLink_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #57
0
 public static void SaveLayout(DockingManager manager, Stream stream)
 {
     var layoutSerializer = new XmlLayoutSerializer(manager);
     layoutSerializer.Serialize(stream);
 }
Example #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RootVisual = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TopMenuGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.ProjectTitle = ((IS3.Desktop.UserControls.RaisedText)(target));
                return;

            case 4:

            #line 79 "..\..\MainFrame.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Home_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 87 "..\..\MainFrame.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Python_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 7:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 8:
                this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 9:
                this.ViewPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 10:
                this.DataPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 11:
                this.ipcHost = ((IS3.Python.IronPythonControl)(target));
                return;

            case 12:
                this.MyDataGrid = ((IS3.Desktop.IS3DataGrid)(target));
                return;

            case 13:
                this.DomainTreeHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 14:
                this.ToolsPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 15:
                this.objViewHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 16:
                this.objectView = ((IS3.Desktop.ObjectView)(target));
                return;

            case 17:
                this.Tools = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 18:
                this.ToolsPanel = ((IS3.Desktop.ToolsPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 2:
                this.First_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.Second_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.Triage_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:

            #line 110 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_office);

            #line default
            #line hidden
                return;

            case 9:

            #line 132 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Register);

            #line default
            #line hidden
                return;

            case 10:

            #line 133 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckIn);

            #line default
            #line hidden
                return;

            case 11:

            #line 134 "..\..\patient_watch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Next);

            #line default
            #line hidden
                return;

            case 12:
                this.Waiting_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.Finish_queue = ((System.Windows.Controls.ListView)(target));
                return;

            case 14:
                this.Doctor_Name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.Doctor_Profile = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.Doctor_StartTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.Doctor_EndTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.诊室1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.PatientView = ((System.Windows.Controls.ListView)(target));
                return;

            case 20:
                this.add_patient_butt = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\patient_watch.xaml"
                this.add_patient_butt.Click += new System.Windows.RoutedEventHandler(this.add_patient_butt_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.remove_butt = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this.DoctorView = ((System.Windows.Controls.ListView)(target));
                return;

            case 23:
                this.add_doctor_butt = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.remove_doctor_butt = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.layoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 76 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnNewProjectClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 78 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnNewBridgeProjectClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 79 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnNewDrawingClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 80 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnNewItemClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 95 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnShowProjectExplorer);

            #line default
            #line hidden
                return;

            case 7:

            #line 96 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnShowPropertyGrid);

            #line default
            #line hidden
                return;

            case 8:

            #line 102 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddCulvertClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 107 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveLayout);

            #line default
            #line hidden
                return;

            case 10:

            #line 108 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveLayout);

            #line default
            #line hidden
                return;

            case 11:

            #line 109 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveLayout);

            #line default
            #line hidden
                return;

            case 12:

            #line 110 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveLayout);

            #line default
            #line hidden
                return;

            case 13:

            #line 113 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadLayout);

            #line default
            #line hidden
                return;

            case 14:

            #line 114 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadLayout);

            #line default
            #line hidden
                return;

            case 15:

            #line 115 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadLayout);

            #line default
            #line hidden
                return;

            case 16:

            #line 116 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadLayout);

            #line default
            #line hidden
                return;

            case 17:

            #line 118 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnDumpToConsole);

            #line default
            #line hidden
                return;

            case 18:

            #line 119 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnUnloadManager);

            #line default
            #line hidden
                return;

            case 19:

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadManager);

            #line default
            #line hidden
                return;

            case 20:

            #line 124 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnNotificationBar);

            #line default
            #line hidden
                return;

            case 21:

            #line 128 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAboutClick);

            #line default
            #line hidden
                return;

            case 22:
                this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));

            #line 274 "..\..\MainWindow.xaml"
                this.dockManager.DocumentClosing += new System.EventHandler <Xceed.Wpf.AvalonDock.DocumentClosingEventArgs>(this.dockManager_DocumentClosing);

            #line default
            #line hidden
                return;

            case 23:

            #line 286 "..\..\MainWindow.xaml"
                ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target)).PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(this.OnLayoutRootPropertyChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }