| | |
| | | this.txt_pageView = new DevExpress.XtraEditors.TextEdit(); |
| | | this.gv_pageView = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gcMain1 = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_pageGroup.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_path.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_pageView.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); |
| | |
| | | this.toolBarMenu1.xlsInService = null; |
| | | this.toolBarMenu1.xlsOutParameter = null; |
| | | // |
| | | // gcMain |
| | | // gcMain1 |
| | | // |
| | | this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gcMain.Location = new System.Drawing.Point(0, 0); |
| | | this.gcMain.MainView = this.gridView1; |
| | | this.gcMain.Name = "gcMain"; |
| | | this.gcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { |
| | | this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.gcMain1.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gcMain1.Location = new System.Drawing.Point(0, 0); |
| | | this.gcMain1.MainView = this.gridView1; |
| | | this.gcMain1.Name = "gcMain1"; |
| | | this.gcMain1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { |
| | | this.repositoryItemButtonEdit1}); |
| | | this.gcMain.Size = new System.Drawing.Size(1126, 531); |
| | | this.gcMain.TabIndex = 1; |
| | | this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
| | | this.gcMain1.Size = new System.Drawing.Size(1126, 531); |
| | | this.gcMain1.TabIndex = 1; |
| | | this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
| | | this.gridView1}); |
| | | // |
| | | // gridView1 |
| | |
| | | this.gv_pageIdx, |
| | | this.gv_pageStatus, |
| | | this.gridColumn1}); |
| | | this.gridView1.GridControl = this.gcMain; |
| | | this.gridView1.GridControl = this.gcMain1; |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | this.repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.cleartablestyle_16x161; |
| | | editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.upload_16x16; |
| | | editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; |
| | | this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | | new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "上传", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); |
| | |
| | | // |
| | | // xtraTabPage1 |
| | | // |
| | | this.xtraTabPage1.Controls.Add(this.gcMain); |
| | | this.xtraTabPage1.Controls.Add(this.gcMain1); |
| | | this.xtraTabPage1.Controls.Add(this.pageBar1); |
| | | this.xtraTabPage1.Name = "xtraTabPage1"; |
| | | this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_pageGroup.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_path.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_pageView.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); |
| | |
| | | } |
| | | #endregion |
| | | private UserControl.UcToolBarMenu toolBarMenu1; |
| | | private DevExpress.XtraGrid.GridControl gcMain; |
| | | private DevExpress.XtraGrid.GridControl gcMain1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraTab.XtraTabControl xtraTabControl1; |
| | | private DevExpress.XtraTab.XtraTabPage xtraTabPage1; |
| | |
| | | if (dd.rtnCode > 0) |
| | | { |
| | | DataTable dt = dd.rtnData.list; |
| | | gcMain.BindingContext = new BindingContext(); |
| | | gcMain.DataSource = dt; |
| | | gcMain.ForceInitialize(); |
| | | gcMain1.BindingContext = new BindingContext(); |
| | | gcMain1.DataSource = dt; |
| | | gcMain1.ForceInitialize(); |
| | | int dddd = dd.rtnData.pages;//总页 |
| | | pageBar1.TotalPages = dddd; |
| | | pageBar1.RecordCount = dd.rtnData.total;//记录总数 |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 上传图片 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |
| | | { |
| | | var rowhandle = gridView1.FocusedRowHandle; |
| | |
| | | frm.ShowDialog(); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | <None Include="Resources\meeting_16x16.png" /> |
| | | <None Include="Resources\bodetails_16x16.png" /> |
| | | <None Include="Resources\show_16x162.png" /> |
| | | <None Include="Resources\bodetails_16x161.png" /> |
| | | <None Include="Resources\upload_16x16.png" /> |
| | | <Content Include="Resources\user_16x16.png" /> |
| | | </ItemGroup> |
| | | <ItemGroup /> |
| | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap bodetails_16x161 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("bodetails_16x161", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap boposition2_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("boposition2_16x16", resourceCulture); |
| | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap upload_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("upload_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap user_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("user_16x16", resourceCulture); |
| | |
| | | <data name="lookup&reference_16x162" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\lookup&reference_16x162.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="chartsshowlegend_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\chartsshowlegend_32x32.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="meeting_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\meeting_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | <value>..\Resources\3dcolumn_16x16.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="bodetails_16x161" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\bodetails_16x161.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="download_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\download_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="chartsshowlegend_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\chartsshowlegend_32x32.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="alignverticalleft" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\alignverticalleft.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
| | | </data> |
| | | <data name="edit_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\edit_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <data name="login_bg6" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\login_bg6.png;System.Drawing.Bitmap, System.Drawing, |
| | | Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="encryptdocument_32x321" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\encryptdocument_32x321.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="checkbox2_32x321" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\checkbox2_32x321.png;System.Drawing.Bitmap, |
| | |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="show_16x162" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\show_16x162.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="lookup&reference_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\lookup&reference_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | <data name="boposition2_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\boposition2_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="alignverticalleft" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\alignverticalleft.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
| | | <data name="encryptdocument_32x321" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\encryptdocument_32x321.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="renamedatasource_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\renamedatasource_32x32.png;System.Drawing.Bitmap, |
| | | System.Drawing, Version=4.0.0.0, Culture=neutral, |
| | | PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="show_16x162" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\show_16x162.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="upload_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\upload_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | </root> |