コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 2:
                this.gridDetailDescriptor = ((DevExpress.Xpf.Grid.DataControlDetailDescriptor)(target));
                return;

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

            case 4:
                this.subDetailGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 5:
                this.subDetailView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 6:
                this.detailView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 7:
                this.masterView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AllowPrintDetailsCheckEdit = ((DevExpress.Xpf.Editors.CheckEdit)(target));
                return;

            case 2:
                this.PrintAllDetailsCheckEdit = ((DevExpress.Xpf.Editors.CheckEdit)(target));
                return;

            case 3:
                this.newTabButton = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\Modules\PrintingMasterDetail.xaml"
                this.newTabButton.Click += new System.Windows.RoutedEventHandler(this.newTabButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.newWindowButton = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Modules\PrintingMasterDetail.xaml"
                this.newWindowButton.Click += new System.Windows.RoutedEventHandler(this.newWindowButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tabControl = ((DevExpress.Xpf.Core.DXTabControl)(target));

            #line 64 "..\..\..\Modules\PrintingMasterDetail.xaml"
                this.tabControl.TabHidden += new DevExpress.Xpf.Core.TabControlTabHiddenEventHandler(this.tabControl_TabHidden);

            #line default
            #line hidden
                return;

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

            case 7:
                this.OrdersDescriptor = ((DevExpress.Xpf.Grid.DataControlDetailDescriptor)(target));
                return;

            case 8:
                this.MDInvoicesDescriptor = ((DevExpress.Xpf.Grid.DataControlDetailDescriptor)(target));
                return;

            case 9:
                this.CustomersDescriptor = ((DevExpress.Xpf.Grid.DataControlDetailDescriptor)(target));
                return;

            case 10:
                this.view = ((DevExpress.Xpf.Grid.TableView)(target));
                return;
            }
            this._contentLoaded = true;
        }