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

            case 2:
                this.EnterLoginTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 5:
                this.EnterPasswordTextBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            case 7:
                this.Gmail = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }