| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | EditorButtonImageOptions editorButtonImageOptions1 = new EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(XhsProjectMgrPage)); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | EditorButtonImageOptions editorButtonImageOptions2 = new EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | |
| | | colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | ColViewBimface = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | colCreateTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | xhsProjectMgrViewModelBindingSource = new BindingSource(components); |
| | | panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | panelControl1 = new PanelControl(); |
| | | svgImg32 = new DevExpress.Utils.SvgImageCollection(components); |
| | | ((ISupportInitialize)repositoryItemImageComboBox1).BeginInit(); |
| | | ((ISupportInitialize)svgImageCollection1).BeginInit(); |
| | |
| | | ColModelState.FieldName = "ModelState"; |
| | | ColModelState.Name = "ColModelState"; |
| | | ColModelState.Visible = true; |
| | | ColModelState.VisibleIndex = 7; |
| | | ColModelState.VisibleIndex = 8; |
| | | ColModelState.Width = 20; |
| | | // |
| | | // repositoryItemImageComboBox1 |
| | |
| | | serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | serializableAppearanceObject4.Options.UseTextOptions = true; |
| | | serializableAppearanceObject4.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemImageComboBox1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Ellipsis, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemImageComboBox1.HtmlImages = svgImageCollection1; |
| | | repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; |
| | | repositoryItemImageComboBox1.SmallImages = svgImageCollection1; |
| | |
| | | ribbonControl1.MaxItemId = 15; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | // |
| | | treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colAddress, colCustomer, colFlags, colTagName, colDescription, ColModelState, ColViewBimface }); |
| | | treeList1.BorderStyle = BorderStyles.NoBorder; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colAddress, colCustomer, colFlags, colTagName, colDescription, ColModelState, ColViewBimface, colCreateTime }); |
| | | treeList1.DataSource = xhsProjectMgrViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 1); |
| | |
| | | colNO.Name = "colNO"; |
| | | colNO.Visible = true; |
| | | colNO.VisibleIndex = 0; |
| | | colNO.Width = 95; |
| | | colNO.Width = 87; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 1; |
| | | colName.Width = 94; |
| | | colName.Width = 167; |
| | | // |
| | | // colAddress |
| | | // |
| | |
| | | colAddress.FieldName = "Address"; |
| | | colAddress.Name = "colAddress"; |
| | | colAddress.Visible = true; |
| | | colAddress.VisibleIndex = 6; |
| | | colAddress.Width = 230; |
| | | colAddress.VisibleIndex = 7; |
| | | colAddress.Width = 257; |
| | | // |
| | | // colCustomer |
| | | // |
| | |
| | | colCustomer.FieldName = "Customer"; |
| | | colCustomer.Name = "colCustomer"; |
| | | colCustomer.Visible = true; |
| | | colCustomer.VisibleIndex = 4; |
| | | colCustomer.Width = 94; |
| | | colCustomer.VisibleIndex = 5; |
| | | colCustomer.Width = 127; |
| | | // |
| | | // colFlags |
| | | // |
| | |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 2; |
| | | colFlags.Width = 94; |
| | | colFlags.VisibleIndex = 3; |
| | | colFlags.Width = 57; |
| | | // |
| | | // colTagName |
| | | // |
| | |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 3; |
| | | colTagName.Width = 94; |
| | | colTagName.VisibleIndex = 4; |
| | | colTagName.Width = 58; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 5; |
| | | colDescription.Width = 94; |
| | | colDescription.VisibleIndex = 6; |
| | | colDescription.Width = 57; |
| | | // |
| | | // ColViewBimface |
| | | // |
| | | ColViewBimface.AppearanceCell.Options.UseTextOptions = true; |
| | | ColViewBimface.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | ColViewBimface.Caption = "查看方案管理"; |
| | | ColViewBimface.Caption = "查看方案"; |
| | | ColViewBimface.ColumnEdit = repositoryItemButtonEdit1; |
| | | ColViewBimface.Name = "ColViewBimface"; |
| | | ColViewBimface.OptionsColumn.AllowEdit = false; |
| | | ColViewBimface.Visible = true; |
| | | ColViewBimface.VisibleIndex = 8; |
| | | ColViewBimface.Width = 32; |
| | | ColViewBimface.VisibleIndex = 9; |
| | | ColViewBimface.Width = 20; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); |
| | | editorButtonImageOptions2.SvgImageSize = new Size(25, 25); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | repositoryItemButtonEdit1.TextEditStyle = TextEditStyles.HideTextEditor; |
| | | // |
| | | // colCreateTime |
| | | // |
| | | colCreateTime.AppearanceCell.Options.UseTextOptions = true; |
| | | colCreateTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCreateTime.Caption = "创建时间"; |
| | | colCreateTime.FieldName = "CreateTime"; |
| | | colCreateTime.Name = "colCreateTime"; |
| | | colCreateTime.Visible = true; |
| | | colCreateTime.VisibleIndex = 2; |
| | | colCreateTime.Width = 125; |
| | | // |
| | | // xhsProjectMgrViewModelBindingSource |
| | | // |
| | |
| | | // |
| | | // panelControl1 |
| | | // |
| | | panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | panelControl1.BorderStyle = BorderStyles.NoBorder; |
| | | panelControl1.Controls.Add(treeList1); |
| | | panelControl1.Dock = DockStyle.Fill; |
| | | panelControl1.Location = new Point(0, 101); |
| | |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repositoryItemImageComboBox1; |
| | | private DevExpress.Utils.SvgImageCollection svgImageCollection1; |
| | | private DevExpress.XtraBars.BarButtonItem BtnAddBimfaceFile; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colCreateTime; |
| | | } |
| | | } |