| | |
| | | using System; |
| | | using DevExpress.XtraBars; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraGrid; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using DevExpress.XtraLayout; |
| | | using Gs.DevApp.DevFrm.Rpt; |
| | | using Gs.DevApp.DevFrm.Sys; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Configuration; |
| | | using System.Data; |
| | |
| | | using System.Net; |
| | | using System.Text; |
| | | using System.Windows.Forms; |
| | | using DevExpress.XtraBars; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraEditors.TextEditController; |
| | | using DevExpress.XtraGrid; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using DevExpress.XtraLayout; |
| | | using DevExpress.XtraRichEdit.Export.Rtf; |
| | | using Gs.DevApp.DevFrm.Rpt; |
| | | using Gs.DevApp.DevFrm.Sys; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace Gs.DevApp.UserControl |
| | | { |
| | |
| | | actions = lst; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | private void BtnSave_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnSaveClick != null) |
| | |
| | | var lst = new List<string>(); |
| | | lst.Add(btnAdd.Name); |
| | | lst.Add(btnEdit.Name); |
| | | lst.Add(btnEsc.Name); |
| | | //lst.Add(btnEsc.Name); |
| | | lst.Add(btnChk.Name); |
| | | lst.Add(btnFchk.Name); |
| | | lst.Add(btnDel.Name); |
| | |
| | | lst.Add(btnTzbl.Name); |
| | | _enabledBtn(lst); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | if (btnWgClick != null) btnWgClick(this, e); |
| | | } |
| | | |
| | | |
| | | |
| | | private void BtnbZhongTai_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnZhongTaiClick != null) btnZhongTaiClick(this, e); |
| | |
| | | Gs.DevApp.UserControl.SelectFont DevFrm = new SelectFont(); |
| | | DevFrm.ShowDialog(); |
| | | } |
| | | |
| | | private void _enabledBtn(List<string> lstBtn) |
| | | { |
| | | foreach (BarItem item in barManager1.Items) |
| | |
| | | { |
| | | spt.RestoreLayoutFromStream(stream); |
| | | } |
| | | // spt.Horizontal = false; |
| | | // spt.Horizontal = false; |
| | | spt.Panel1.AutoScroll = false; |
| | | spt.Panel2.AutoScroll = false; |
| | | //spt.Panel1.MaximumSize = new System.Drawing.Size(spt.Panel1.Width, 100); |