2021-04-13 17:46:18 +08:00
|
|
|
|
|
|
|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
|
using DevExpress.XtraLayout;
|
|
|
|
|
|
using DevExpress.XtraTab;
|
|
|
|
|
|
|
|
|
|
|
|
namespace WinformGeneralDeveloperFrame
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class XtraForm1
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.grdList = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
|
this.grdListView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
|
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
|
|
|
|
|
|
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
|
this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
|
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdListView)).BeginInit();
|
2021-05-26 17:17:51 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// grdList
|
|
|
|
|
|
//
|
|
|
|
|
|
this.grdList.Dock = System.Windows.Forms.DockStyle.Fill;
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.grdList.Location = new System.Drawing.Point(0, 34);
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.grdList.MainView = this.grdListView;
|
|
|
|
|
|
this.grdList.Name = "grdList";
|
|
|
|
|
|
this.grdList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.repositoryItemCheckEdit1,
|
|
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1});
|
|
|
|
|
|
this.grdList.Size = new System.Drawing.Size(1074, 615);
|
|
|
|
|
|
this.grdList.TabIndex = 1;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
|
|
|
this.grdListView});
|
|
|
|
|
|
//
|
|
|
|
|
|
// grdListView
|
|
|
|
|
|
//
|
|
|
|
|
|
this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
|
|
|
this.gridColumn1,
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn2,
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.gridColumn3,
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn4,
|
|
|
|
|
|
this.gridColumn5,
|
|
|
|
|
|
this.gridColumn6,
|
|
|
|
|
|
this.gridColumn7,
|
|
|
|
|
|
this.gridColumn8,
|
|
|
|
|
|
this.gridColumn9,
|
|
|
|
|
|
this.gridColumn10,
|
|
|
|
|
|
this.gridColumn11,
|
|
|
|
|
|
this.gridColumn12,
|
|
|
|
|
|
this.gridColumn13,
|
|
|
|
|
|
this.gridColumn14,
|
|
|
|
|
|
this.gridColumn15});
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.grdListView.GridControl = this.grdList;
|
|
|
|
|
|
this.grdListView.Name = "grdListView";
|
|
|
|
|
|
this.grdListView.OptionsBehavior.Editable = false;
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.grdListView.OptionsView.ColumnAutoWidth = false;
|
|
|
|
|
|
this.grdListView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
|
|
|
|
|
|
new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn7, DevExpress.Data.ColumnSortOrder.Ascending)});
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
|
|
|
|
|
// gridColumn1
|
|
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn1.Caption = "ID";
|
|
|
|
|
|
this.gridColumn1.FieldName = "id";
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.gridColumn1.Name = "gridColumn1";
|
|
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// gridColumn2
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn2.Caption = "父id";
|
|
|
|
|
|
this.gridColumn2.FieldName = "pid";
|
|
|
|
|
|
this.gridColumn2.Name = "gridColumn2";
|
|
|
|
|
|
this.gridColumn2.Visible = true;
|
|
|
|
|
|
this.gridColumn2.VisibleIndex = 0;
|
|
|
|
|
|
this.gridColumn2.Width = 128;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
|
|
|
|
|
// gridColumn3
|
|
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn3.Caption = "菜单名称";
|
|
|
|
|
|
this.gridColumn3.FieldName = "name";
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.gridColumn3.Name = "gridColumn3";
|
|
|
|
|
|
this.gridColumn3.Visible = true;
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn3.VisibleIndex = 1;
|
|
|
|
|
|
this.gridColumn3.Width = 122;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
|
|
|
|
|
// gridColumn4
|
|
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn4.Caption = "图标";
|
|
|
|
|
|
this.gridColumn4.FieldName = "icon";
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.gridColumn4.Name = "gridColumn4";
|
|
|
|
|
|
this.gridColumn4.Visible = true;
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn4.VisibleIndex = 2;
|
|
|
|
|
|
this.gridColumn4.Width = 135;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// gridColumn5
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn5.Caption = "菜单类型";
|
|
|
|
|
|
this.gridColumn5.FieldName = "winformType";
|
|
|
|
|
|
this.gridColumn5.Name = "gridColumn5";
|
|
|
|
|
|
this.gridColumn5.Visible = true;
|
|
|
|
|
|
this.gridColumn5.VisibleIndex = 3;
|
|
|
|
|
|
this.gridColumn5.Width = 109;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// gridColumn6
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn6.Caption = "排序";
|
|
|
|
|
|
this.gridColumn6.FieldName = "sort";
|
|
|
|
|
|
this.gridColumn6.Name = "gridColumn6";
|
|
|
|
|
|
this.gridColumn6.Visible = true;
|
|
|
|
|
|
this.gridColumn6.VisibleIndex = 4;
|
|
|
|
|
|
this.gridColumn6.Width = 80;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// gridColumn7
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn7.Caption = "有效";
|
|
|
|
|
|
this.gridColumn7.FieldName = "isEnabled";
|
|
|
|
|
|
this.gridColumn7.Name = "gridColumn7";
|
|
|
|
|
|
this.gridColumn7.Visible = true;
|
|
|
|
|
|
this.gridColumn7.VisibleIndex = 5;
|
|
|
|
|
|
this.gridColumn7.Width = 100;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// gridColumn8
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.gridColumn8.Caption = "功能按钮";
|
|
|
|
|
|
this.gridColumn8.ColumnEdit = this.repositoryItemCheckedComboBoxEdit1;
|
|
|
|
|
|
this.gridColumn8.FieldName = "toolList";
|
|
|
|
|
|
this.gridColumn8.Name = "gridColumn8";
|
|
|
|
|
|
this.gridColumn8.Width = 201;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// repositoryItemCheckedComboBoxEdit1
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false;
|
|
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
2021-04-13 17:46:18 +08:00
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1.DisplayMember = "Name";
|
|
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1";
|
|
|
|
|
|
this.repositoryItemCheckedComboBoxEdit1.ValueMember = "ID";
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn9
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn9.Caption = "创建人";
|
|
|
|
|
|
this.gridColumn9.FieldName = "creatorId";
|
|
|
|
|
|
this.gridColumn9.Name = "gridColumn9";
|
|
|
|
|
|
this.gridColumn9.Visible = true;
|
|
|
|
|
|
this.gridColumn9.VisibleIndex = 8;
|
|
|
|
|
|
this.gridColumn9.Width = 201;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn10
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn10.Caption = "创建时间";
|
|
|
|
|
|
this.gridColumn10.DisplayFormat.FormatString = "G";
|
|
|
|
|
|
this.gridColumn10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
|
|
|
this.gridColumn10.FieldName = "createTime";
|
|
|
|
|
|
this.gridColumn10.Name = "gridColumn10";
|
|
|
|
|
|
this.gridColumn10.Visible = true;
|
|
|
|
|
|
this.gridColumn10.VisibleIndex = 9;
|
|
|
|
|
|
this.gridColumn10.Width = 201;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn11
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn11.Caption = "编辑人";
|
|
|
|
|
|
this.gridColumn11.FieldName = "editorId";
|
|
|
|
|
|
this.gridColumn11.Name = "gridColumn11";
|
|
|
|
|
|
this.gridColumn11.Visible = true;
|
|
|
|
|
|
this.gridColumn11.VisibleIndex = 10;
|
|
|
|
|
|
this.gridColumn11.Width = 201;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn12
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn12.Caption = "编辑时间";
|
|
|
|
|
|
this.gridColumn12.FieldName = "editTime";
|
|
|
|
|
|
this.gridColumn12.Name = "gridColumn12";
|
|
|
|
|
|
this.gridColumn12.Visible = true;
|
|
|
|
|
|
this.gridColumn12.VisibleIndex = 11;
|
|
|
|
|
|
this.gridColumn12.Width = 201;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn13
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn13.Caption = "是否界面";
|
|
|
|
|
|
this.gridColumn13.FieldName = "isForm";
|
|
|
|
|
|
this.gridColumn13.Name = "gridColumn13";
|
|
|
|
|
|
this.gridColumn13.Visible = true;
|
|
|
|
|
|
this.gridColumn13.VisibleIndex = 6;
|
|
|
|
|
|
this.gridColumn13.Width = 201;
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn14
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn14.Caption = "是否功能按钮";
|
|
|
|
|
|
this.gridColumn14.ColumnEdit = this.repositoryItemCheckEdit1;
|
|
|
|
|
|
this.gridColumn14.FieldName = "isToolBtn";
|
|
|
|
|
|
this.gridColumn14.Name = "gridColumn14";
|
|
|
|
|
|
this.gridColumn14.Visible = true;
|
|
|
|
|
|
this.gridColumn14.VisibleIndex = 7;
|
|
|
|
|
|
//
|
|
|
|
|
|
// repositoryItemCheckEdit1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.repositoryItemCheckEdit1.AutoHeight = false;
|
|
|
|
|
|
this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// gridColumn15
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gridColumn15.Caption = "权限编码";
|
|
|
|
|
|
this.gridColumn15.FieldName = "functionCode";
|
|
|
|
|
|
this.gridColumn15.Name = "gridColumn15";
|
|
|
|
|
|
this.gridColumn15.Visible = true;
|
|
|
|
|
|
this.gridColumn15.VisibleIndex = 12;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
// simpleButton1
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.simpleButton1.ImageOptions.Image = global::WinformGeneralDeveloperFrame.Properties.Resources.bocountry_32x32;
|
|
|
|
|
|
this.simpleButton1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
|
|
|
|
|
|
this.simpleButton1.Location = new System.Drawing.Point(622, 181);
|
|
|
|
|
|
this.simpleButton1.Name = "simpleButton1";
|
|
|
|
|
|
this.simpleButton1.Size = new System.Drawing.Size(123, 124);
|
|
|
|
|
|
this.simpleButton1.TabIndex = 2;
|
|
|
|
|
|
this.simpleButton1.Text = "simpleButton1";
|
2021-04-13 17:46:18 +08:00
|
|
|
|
//
|
|
|
|
|
|
// XtraForm1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1074, 649);
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.Controls.Add(this.simpleButton1);
|
|
|
|
|
|
this.Controls.Add(this.grdList);
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.Name = "XtraForm1";
|
|
|
|
|
|
this.Text = "XtraForm1";
|
|
|
|
|
|
this.Load += new System.EventHandler(this.XtraForm1_Load);
|
2021-05-26 17:17:51 +08:00
|
|
|
|
this.Controls.SetChildIndex(this.grdList, 0);
|
|
|
|
|
|
this.Controls.SetChildIndex(this.simpleButton1, 0);
|
2021-04-13 17:46:18 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grdListView)).EndInit();
|
2021-05-26 17:17:51 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
|
2021-04-13 17:46:18 +08:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraGrid.GridControl grdList;
|
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView grdListView;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
2021-05-26 17:17:51 +08:00
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
|
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit repositoryItemCheckedComboBoxEdit1;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
|
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEdit1;
|
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
|
2021-04-13 17:46:18 +08:00
|
|
|
|
private SimpleButton simpleButton1;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|