void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.txt = ((Ruma.Controls.TextBoxIntellisense)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.txt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt1_TextChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.t = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #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;
        }