示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CurrentControl = ((ControlsLibrary.DpkView)(target));
                return;

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

            case 3:
                this.binView_Address = ((ControlsLibrary.BinView)(target));
                return;

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

            case 5:
                this.binView_Data = ((ControlsLibrary.BinView)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\WinSearch.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AcceptParametres);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\..\WinSearch.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CancelParametres);

            #line default
            #line hidden
                return;

            case 3:

            #line 9 "..\..\..\WinSearch.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetAddresses);

            #line default
            #line hidden
                return;

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

            case 5:
                this.binView_DataValue = ((ControlsLibrary.BinView)(target));
                return;

            case 6:
                this.binView_Check = ((ControlsLibrary.BinView)(target));
                return;
            }
            this._contentLoaded = true;
        }