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

            #line 6 "..\..\..\..\Offline\ModelSelector.xaml"
                ((NirIdentifier.Offline.ModelSelector)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.listModels = ((NirIdentifier.Common.ModelInfoPanel)(target));
                return;

            case 3:
                this.btnOkCancel = ((Ai.Hong.CommonLibrary.Controls.OkCancelPanel)(target));

            #line 13 "..\..\..\..\Offline\ModelSelector.xaml"
                this.btnOkCancel.CancelClicked += new System.Windows.RoutedEventHandler(this.btnOkCancel_CancelClicked);

            #line default
            #line hidden

            #line 13 "..\..\..\..\Offline\ModelSelector.xaml"
                this.btnOkCancel.OKClicked += new System.Windows.RoutedEventHandler(this.btnOkCancel_OKClicked);

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

            #line 5 "..\..\..\..\Common\InputText.xaml"
                ((NirIdentifier.Common.InputText)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.BtnOkCancel = ((Ai.Hong.CommonLibrary.Controls.OkCancelPanel)(target));

            #line 14 "..\..\..\..\Common\InputText.xaml"
                this.BtnOkCancel.CancelClicked += new System.Windows.RoutedEventHandler(this.BtnOkCancel_CancelClicked);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Common\InputText.xaml"
                this.BtnOkCancel.OKClicked += new System.Windows.RoutedEventHandler(this.BtnOkCancel_OKClicked);

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

            #line 23 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnExportOne = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target));

            #line 24 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnExportOne.Click += new System.Windows.RoutedEventHandler(this.btnExportOne_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.txtItemName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.methodPanel = ((NirIdentifier.SystemSetup.MethodInfoPanel)(target));
                return;

            case 6:
                this.gridNewEditDelete = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.btnAddNode = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target));

            #line 44 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnAddNode.Click += new System.Windows.RoutedEventHandler(this.btnAddNode_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAddMethod = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target));

            #line 45 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnAddMethod.Click += new System.Windows.RoutedEventHandler(this.btnAddMethod_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnEditNode = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target));

            #line 46 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnEditNode.Click += new System.Windows.RoutedEventHandler(this.btnEditNode_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnDeleteNode = ((Ai.Hong.CommonLibrary.Controls.UserButton)(target));

            #line 47 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.btnDeleteNode.Click += new System.Windows.RoutedEventHandler(this.btnDeleteNode_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.gridOkCancel = ((Ai.Hong.CommonLibrary.Controls.OkCancelPanel)(target));

            #line 49 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.gridOkCancel.CancelClicked += new System.Windows.RoutedEventHandler(this.gridOkCancel_CancelClicked);

            #line default
            #line hidden

            #line 49 "..\..\..\..\SystemSetup\DatabaseInfoPanel.xaml"
                this.gridOkCancel.OKClicked += new System.Windows.RoutedEventHandler(this.gridOkCancel_OKClicked);

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