示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.queryBox = ((Main.Views.QueryBox)(target));
                return;

            case 3:
                this.tableGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.queryControl = ((Main.Views.QueryBox)(target));
                return;

            case 2:
                this.queryAreaBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 3:
                this.resultBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 4:
                this.dbListBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }