Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.algorithm_introduction = ((MMAWPF.Algorithm)(target));

            #line 6 "..\..\..\Algorithm.xaml"
                this.algorithm_introduction.Closing += new System.ComponentModel.CancelEventHandler(this.algorithm_introduction_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\Algorithm.xaml"
                this.algorithm_introduction.Closed += new System.EventHandler(this.algorithm_introduction_Closed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 18 "..\..\..\Algorithm.xaml"
                this.treeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.treeView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.algorithm = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 5:
                this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 6:
                this.contentTextBox = ((System.Windows.Forms.RichTextBox)(target));
                return;

            case 7:
                this.label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.algorithm_introduction = ((MMAWPF.Algorithm)(target));

            #line 4 "..\..\Algorithm.xaml"
                this.algorithm_introduction.Closing += new System.ComponentModel.CancelEventHandler(this.algorithm_introduction_Closing);

            #line default
            #line hidden

            #line 4 "..\..\Algorithm.xaml"
                this.algorithm_introduction.Closed += new System.EventHandler(this.algorithm_introduction_Closed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.treeView1 = ((System.Windows.Controls.TreeView)(target));
                return;

            case 4:
                this.algorithm = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 5:
                this.documentViewer1 = ((System.Windows.Controls.DocumentViewer)(target));
                return;

            case 6:
                this.documentViewer2 = ((System.Windows.Controls.DocumentViewer)(target));
                return;

            case 7:
                this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 8:
                this.gridSplitter2 = ((System.Windows.Controls.GridSplitter)(target));
                return;
            }
            this._contentLoaded = true;
        }