void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((DevExpress.Xpf.Core.DXTabControl)(target));
                return;

            case 2:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 3:
                this.view = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 4:
                this.spreadsheetControl = ((DevExpress.Xpf.Spreadsheet.SpreadsheetControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
                return;

            case 2:

            #line 27 "..\..\..\Modules\ClipboardFormats.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 4:
                this.tableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 5:
                this.spreadsheetControl = ((DevExpress.Xpf.Spreadsheet.SpreadsheetControl)(target));
                return;

            case 6:
                this.richEditControl = ((DevExpress.Xpf.RichEdit.RichEditControl)(target));
                return;

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