示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cardHeaderTemplateListBox = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));

            #line 49 "..\..\..\Modules\CardTemplates.xaml"
                this.cardHeaderTemplateListBox.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.cardHeaderTemplateListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cardTemplateListBox = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));

            #line 56 "..\..\..\Modules\CardTemplates.xaml"
                this.cardTemplateListBox.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.cardTemplateListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.eMailTemplateGroupBox = ((DevExpress.Xpf.Core.GroupFrame)(target));
                return;

            case 4:
                this.eMailTemplateListBox = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));

            #line 63 "..\..\..\Modules\CardTemplates.xaml"
                this.eMailTemplateListBox.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.eMailTemplateListBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.colEMail = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 7:
                this.view = ((DevExpress.Xpf.Grid.CardView)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((GridDemo.DemoModuleExportControl)(target));
                return;

            case 2:
                this.printPreviewButton = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.dataAwareExportPanel = ((DevExpress.Xpf.Core.GroupFrame)(target));
                return;

            case 4:

            #line 44 "..\..\..\Controls\DemoModuleExportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DataAwareExportToXlsx);

            #line default
            #line hidden
                return;

            case 5:

            #line 45 "..\..\..\Controls\DemoModuleExportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DataAwareExportToXls);

            #line default
            #line hidden
                return;

            case 6:

            #line 46 "..\..\..\Controls\DemoModuleExportControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DataAwareExportToCsv);

            #line default
            #line hidden
                return;

            case 7:
                this.wysiwygExportPanel = ((DevExpress.Xpf.Core.GroupFrame)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupBoxControl = ((DevExpress.Xpf.Core.GroupFrame)(target));
                return;

            case 2:
                this.comboBoxControl = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

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

            #line 10 "..\..\..\Controls\MiltiSelectionOptionsControl.xaml"
                this.SelectButton.Click += new System.Windows.RoutedEventHandler(this.SelectButtonClickInClass);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\Controls\MiltiSelectionOptionsControl.xaml"
                this.UnselectButton.Click += new System.Windows.RoutedEventHandler(this.UnselectButtonClickInClass);

            #line default
            #line hidden
                return;

            case 5:
                this.ReselectButton = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\Controls\MiltiSelectionOptionsControl.xaml"
                this.ReselectButton.Click += new System.Windows.RoutedEventHandler(this.ReselectButtonClickInClass);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((GridDemo.GridSearchPanel)(target));
                return;

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

            case 3:
                this.lbShowMode = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));
                return;

            case 4:
                this.lbSearchMode = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));
                return;

            case 5:
                this.cbShowFindButton = ((DevExpress.Xpf.Editors.CheckEdit)(target));
                return;

            case 6:
                this.cbShowCloseButton = ((DevExpress.Xpf.Editors.CheckEdit)(target));
                return;

            case 7:
                this.groupFrameColumns = ((DevExpress.Xpf.Core.GroupFrame)(target));
                return;

            case 8:
                this.columnsList = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 9:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;
            }
            this._contentLoaded = true;
        }