Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((VIS.Voice)(target));
                return;

            case 2:
                this.enableButton = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Voice.xaml"
                this.enableButton.Click += new System.Windows.RoutedEventHandler(this.EnableButton_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\Voice.xaml"
                this.disableButton.Click += new System.Windows.RoutedEventHandler(this.DisableButton_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\Voice.xaml"
                this.viewButton.Click += new System.Windows.RoutedEventHandler(this.ViewButton_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\Voice.xaml"
                this.hideButton.Click += new System.Windows.RoutedEventHandler(this.HideButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.searchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((VIS.Voice)(target));
                return;

            case 2:
                this.viewButton = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\Voice.xaml"
                this.viewButton.Click += new System.Windows.RoutedEventHandler(this.ViewButton_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\Voice.xaml"
                this.hideButton.Click += new System.Windows.RoutedEventHandler(this.HideButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 39 "..\..\..\Voice.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.About_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 44 "..\..\..\Voice.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MyEditor_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.searchTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\..\Voice.xaml"
                this.searchTextBox.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.SearchTextBox_GotMouseCapture);

            #line default
            #line hidden
                return;

            case 7:
                this.message = ((System.Windows.Controls.TextBlock)(target));
                return;

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