Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dataForm = ((ServerTest.WPF.Client.DataForm)(target));
                return;

            case 2:
                this.log = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dataForm = ((ServerTest.WPF.Client.DataForm)(target));
                return;

            case 2:

            #line 12 "..\..\DataForm.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Request_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 13 "..\..\DataForm.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.content = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }