diff --git a/.vs/WinformGeneralDeveloperFrame/v16/.suo b/.vs/WinformGeneralDeveloperFrame/v16/.suo index 04de08c..21909b6 100644 Binary files a/.vs/WinformGeneralDeveloperFrame/v16/.suo and b/.vs/WinformGeneralDeveloperFrame/v16/.suo differ diff --git a/WinformGeneralDeveloperFrame.Start/Program.cs b/WinformGeneralDeveloperFrame.Start/Program.cs index 9662b73..edb9f5a 100644 --- a/WinformGeneralDeveloperFrame.Start/Program.cs +++ b/WinformGeneralDeveloperFrame.Start/Program.cs @@ -18,6 +18,8 @@ namespace WinformGeneralDeveloperFrame.Start [STAThread] static void Main() { + string str = EncodeHelper.AES_Encrypt("数据库连接"); + string str1 = EncodeHelper.AES_Decrypt(str);// DevExpress.Skins.SkinManager.EnableFormSkins(); UserLookAndFeel.Default.SetSkinStyle("Office 2007 Silver"); BonusSkins.Register(); diff --git a/WinformGeneralDeveloperFrame/Form/FrmsysMenu.designer.cs b/WinformGeneralDeveloperFrame/Form/FrmsysMenu.designer.cs index 857ec30..6623311 100644 --- a/WinformGeneralDeveloperFrame/Form/FrmsysMenu.designer.cs +++ b/WinformGeneralDeveloperFrame/Form/FrmsysMenu.designer.cs @@ -314,7 +314,7 @@ namespace MES.Form this.xtraTabControl1.Location = new System.Drawing.Point(0, 34); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.tabDataList; - this.xtraTabControl1.Size = new System.Drawing.Size(696, 433); + this.xtraTabControl1.Size = new System.Drawing.Size(966, 521); this.xtraTabControl1.TabIndex = 1; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabDataList, @@ -324,7 +324,7 @@ namespace MES.Form // this.tabDataList.Controls.Add(this.grdList); this.tabDataList.Name = "tabDataList"; - this.tabDataList.Size = new System.Drawing.Size(680, 398); + this.tabDataList.Size = new System.Drawing.Size(960, 492); this.tabDataList.Text = "数据列表"; // // grdList @@ -336,7 +336,7 @@ namespace MES.Form this.grdList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1, this.repositoryItemCheckedComboBoxEdit1}); - this.grdList.Size = new System.Drawing.Size(680, 398); + this.grdList.Size = new System.Drawing.Size(960, 492); this.grdList.TabIndex = 0; this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdListView}); @@ -392,7 +392,7 @@ namespace MES.Form // this.tabDataDetail.Controls.Add(this.panelControl2); this.tabDataDetail.Name = "tabDataDetail"; - this.tabDataDetail.Size = new System.Drawing.Size(691, 407); + this.tabDataDetail.Size = new System.Drawing.Size(690, 404); this.tabDataDetail.Text = "数据编辑"; // // panelControl2 @@ -401,7 +401,7 @@ namespace MES.Form this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; - this.panelControl2.Size = new System.Drawing.Size(691, 407); + this.panelControl2.Size = new System.Drawing.Size(690, 404); this.panelControl2.TabIndex = 0; // // layoutControl1 @@ -424,7 +424,7 @@ namespace MES.Form this.layoutControl1.Location = new System.Drawing.Point(2, 2); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; - this.layoutControl1.Size = new System.Drawing.Size(687, 403); + this.layoutControl1.Size = new System.Drawing.Size(686, 400); this.layoutControl1.TabIndex = 6; this.layoutControl1.Text = "layoutControl1"; // @@ -432,7 +432,7 @@ namespace MES.Form // this.txtfunctionCode.Location = new System.Drawing.Point(235, 62); this.txtfunctionCode.Name = "txtfunctionCode"; - this.txtfunctionCode.Size = new System.Drawing.Size(285, 20); + this.txtfunctionCode.Size = new System.Drawing.Size(284, 20); this.txtfunctionCode.StyleController = this.layoutControl1; this.txtfunctionCode.TabIndex = 16; // @@ -440,7 +440,7 @@ namespace MES.Form // this.txtname.Location = new System.Drawing.Point(407, 12); this.txtname.Name = "txtname"; - this.txtname.Size = new System.Drawing.Size(268, 20); + this.txtname.Size = new System.Drawing.Size(267, 20); this.txtname.StyleController = this.layoutControl1; this.txtname.TabIndex = 15; // @@ -498,7 +498,7 @@ namespace MES.Form // this.txtwinformType.Location = new System.Drawing.Point(407, 36); this.txtwinformType.Name = "txtwinformType"; - this.txtwinformType.Size = new System.Drawing.Size(268, 20); + this.txtwinformType.Size = new System.Drawing.Size(267, 20); this.txtwinformType.StyleController = this.layoutControl1; this.txtwinformType.TabIndex = 4; // @@ -513,7 +513,7 @@ namespace MES.Form // txtisEnabled // this.txtisEnabled.EditValue = null; - this.txtisEnabled.Location = new System.Drawing.Point(524, 62); + this.txtisEnabled.Location = new System.Drawing.Point(523, 62); this.txtisEnabled.Name = "txtisEnabled"; this.txtisEnabled.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default; this.txtisEnabled.Properties.Caption = "有效"; @@ -533,7 +533,7 @@ namespace MES.Form this.txtcreatorId.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; this.txtcreatorId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.txtcreatorId.Properties.ValueMember = "ID"; - this.txtcreatorId.Size = new System.Drawing.Size(289, 20); + this.txtcreatorId.Size = new System.Drawing.Size(288, 20); this.txtcreatorId.StyleController = this.layoutControl1; this.txtcreatorId.TabIndex = 8; // @@ -541,7 +541,7 @@ namespace MES.Form // this.txtcreateTime.EditValue = null; this.txtcreateTime.ImeMode = System.Windows.Forms.ImeMode.Off; - this.txtcreateTime.Location = new System.Drawing.Point(407, 86); + this.txtcreateTime.Location = new System.Drawing.Point(406, 86); this.txtcreateTime.Name = "txtcreateTime"; this.txtcreateTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); @@ -565,7 +565,7 @@ namespace MES.Form this.txteditorId.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; this.txteditorId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.txteditorId.Properties.ValueMember = "ID"; - this.txteditorId.Size = new System.Drawing.Size(289, 20); + this.txteditorId.Size = new System.Drawing.Size(288, 20); this.txteditorId.StyleController = this.layoutControl1; this.txteditorId.TabIndex = 10; // @@ -573,7 +573,7 @@ namespace MES.Form // this.txteditTime.EditValue = null; this.txteditTime.ImeMode = System.Windows.Forms.ImeMode.Off; - this.txteditTime.Location = new System.Drawing.Point(407, 110); + this.txteditTime.Location = new System.Drawing.Point(406, 110); this.txteditTime.Name = "txteditTime"; this.txteditTime.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); @@ -589,7 +589,7 @@ namespace MES.Form // txtisForm // this.txtisForm.EditValue = null; - this.txtisForm.Location = new System.Drawing.Point(593, 62); + this.txtisForm.Location = new System.Drawing.Point(592, 62); this.txtisForm.Name = "txtisForm"; this.txtisForm.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default; this.txtisForm.Properties.Caption = "是否界面"; @@ -619,7 +619,7 @@ namespace MES.Form this.layoutControlItem2, this.layoutControlItem15}); this.layoutControlGroup1.Name = "layoutControlGroup1"; - this.layoutControlGroup1.Size = new System.Drawing.Size(687, 403); + this.layoutControlGroup1.Size = new System.Drawing.Size(686, 400); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 @@ -658,7 +658,7 @@ namespace MES.Form this.layoutControlItem8.CustomizationFormText = "创建人"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 74); this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(344, 24); + this.layoutControlItem8.Size = new System.Drawing.Size(343, 24); this.layoutControlItem8.Text = "创建人"; this.layoutControlItem8.TextSize = new System.Drawing.Size(48, 14); // @@ -668,7 +668,7 @@ namespace MES.Form this.layoutControlItem10.CustomizationFormText = "编辑人"; this.layoutControlItem10.Location = new System.Drawing.Point(0, 98); this.layoutControlItem10.Name = "layoutControlItem10"; - this.layoutControlItem10.Size = new System.Drawing.Size(344, 24); + this.layoutControlItem10.Size = new System.Drawing.Size(343, 24); this.layoutControlItem10.Text = "编辑人"; this.layoutControlItem10.TextSize = new System.Drawing.Size(48, 14); // @@ -678,7 +678,7 @@ namespace MES.Form this.layoutControlItem4.CustomizationFormText = "菜单类型"; this.layoutControlItem4.Location = new System.Drawing.Point(344, 24); this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.Size = new System.Drawing.Size(323, 26); + this.layoutControlItem4.Size = new System.Drawing.Size(322, 26); this.layoutControlItem4.Text = "菜单类型"; this.layoutControlItem4.TextSize = new System.Drawing.Size(48, 14); // @@ -686,7 +686,7 @@ namespace MES.Form // this.layoutControlItem6.Control = this.txtisEnabled; this.layoutControlItem6.CustomizationFormText = "有效"; - this.layoutControlItem6.Location = new System.Drawing.Point(512, 50); + this.layoutControlItem6.Location = new System.Drawing.Point(511, 50); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(69, 24); this.layoutControlItem6.Text = "有效"; @@ -697,7 +697,7 @@ namespace MES.Form // this.layoutControlItem12.Control = this.txtisForm; this.layoutControlItem12.CustomizationFormText = "是否界面"; - this.layoutControlItem12.Location = new System.Drawing.Point(581, 50); + this.layoutControlItem12.Location = new System.Drawing.Point(580, 50); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(86, 24); this.layoutControlItem12.Text = "是否界面"; @@ -709,14 +709,14 @@ namespace MES.Form this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 122); this.emptySpaceItem1.Name = "emptySpaceItem1"; - this.emptySpaceItem1.Size = new System.Drawing.Size(667, 261); + this.emptySpaceItem1.Size = new System.Drawing.Size(666, 258); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem9 // this.layoutControlItem9.Control = this.txtcreateTime; this.layoutControlItem9.CustomizationFormText = "创建时间"; - this.layoutControlItem9.Location = new System.Drawing.Point(344, 74); + this.layoutControlItem9.Location = new System.Drawing.Point(343, 74); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(323, 24); this.layoutControlItem9.Text = "创建时间"; @@ -726,7 +726,7 @@ namespace MES.Form // this.layoutControlItem11.Control = this.txteditTime; this.layoutControlItem11.CustomizationFormText = "编辑时间"; - this.layoutControlItem11.Location = new System.Drawing.Point(344, 98); + this.layoutControlItem11.Location = new System.Drawing.Point(343, 98); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(323, 24); this.layoutControlItem11.Text = "编辑时间"; @@ -755,7 +755,7 @@ namespace MES.Form this.layoutControlItem2.Control = this.txtname; this.layoutControlItem2.Location = new System.Drawing.Point(344, 0); this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(323, 24); + this.layoutControlItem2.Size = new System.Drawing.Size(322, 24); this.layoutControlItem2.Text = "菜单名称"; this.layoutControlItem2.TextSize = new System.Drawing.Size(48, 14); // @@ -764,7 +764,7 @@ namespace MES.Form this.layoutControlItem15.Control = this.txtfunctionCode; this.layoutControlItem15.Location = new System.Drawing.Point(172, 50); this.layoutControlItem15.Name = "layoutControlItem15"; - this.layoutControlItem15.Size = new System.Drawing.Size(340, 24); + this.layoutControlItem15.Size = new System.Drawing.Size(339, 24); this.layoutControlItem15.Text = "权限编码"; this.layoutControlItem15.TextSize = new System.Drawing.Size(48, 14); // @@ -776,7 +776,7 @@ namespace MES.Form // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(696, 467); + this.ClientSize = new System.Drawing.Size(966, 555); this.Controls.Add(this.xtraTabControl1); this.Name = "FrmsysMenu"; this.Text = "菜单维护";