Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.productName = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.versionLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.version = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.copyright = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.company = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.reserved = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.info = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.description = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.productLink = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.okButton = ((Ruma.Controls.ButtonText)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewWindow = ((TeachEnglish.Views.RumaMainWindow)(target));
                return;

            case 2:
                this.MiSavetoDatabase = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.MiExit = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.MiTrans = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.MiAudio = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.MiImage = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.MiAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.MiAbout = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.TabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 10:
                this.TextBoxSearchWord = ((Ruma.Controls.TextBoxIntellisense)(target));
                return;

            case 11:
                this.ButtonStartSearchAudio = ((Ruma.Controls.ButtonText)(target));
                return;

            case 12:
                this.ButtonStartSearchImages = ((Ruma.Controls.ButtonText)(target));
                return;

            case 13:
                this.ButtonStartSearchTranslation = ((Ruma.Controls.ButtonText)(target));
                return;

            case 14:
                this.ButtonStartSearchAll = ((Ruma.Controls.ButtonText)(target));
                return;

            case 15:
                this.ButtonGetCheckedData = ((Ruma.Controls.ButtonText)(target));
                return;

            case 16:
                this.RowProgressTranslator = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 17:
                this.LblTranslation = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.ListTranslation = ((Ruma.WpfUserControls.ListBac)(target));
                return;

            case 19:
                this.RowProgressAudio = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 20:
                this.LblAudio = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.ListAudio = ((Ruma.WpfUserControls.ListBac)(target));
                return;

            case 22:
                this.LoadingProcessAudio = ((Ruma.WpfUserControls.LoadingProcess)(target));
                return;

            case 23:
                this.RowProgressImage = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 24:
                this.LblImage = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.ListImage = ((Ruma.WpfUserControls.ListBac)(target));
                return;

            case 26:
                this.LoadingProcessImage = ((Ruma.WpfUserControls.LoadingProcess)(target));
                return;

            case 27:
                this.NumMaxImage = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 28:
                this.NumMaxAudio = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 29:
                this.TextBoxApiKeyDict = ((System.Windows.Controls.TextBox)(target));
                return;

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