| | |
| | | string _formNamespace = parentForm.GetType().FullName; |
| | | List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = getGvList(); |
| | | List<DevExpress.XtraLayout.LayoutControl> layList = getLayList(); |
| | | List<DevExpress.XtraEditors.SplitContainerControl> spcList=getSpcList(); |
| | | JArray array = new JArray(); |
| | | List<DevExpress.XtraEditors.SplitContainerControl> spcList = getSpcList(); |
| | | JArray array = new JArray(); |
| | | var _obj = new |
| | | { |
| | | formPath = _formNamespace, |
| | |
| | | { |
| | | string controlId = john["controlId"].ToString(); |
| | | string controlXml = john["controlXml"].ToString(); |
| | | // string splitterPosition = john["splitterPosition"].ToString(); |
| | | // string splitterPosition = john["splitterPosition"].ToString(); |
| | | byte[] byteArray = Encoding.UTF8.GetBytes(controlXml); |
| | | using (var stream = new MemoryStream(byteArray)) |
| | | { |
| | |
| | | spt.Horizontal = false; |
| | | spt.Panel1.AutoScroll = false; |
| | | spt.Panel2.AutoScroll = false; |
| | | //spt.Panel1.MaximumSize = new System.Drawing.Size(spt.Panel1.Width, 100); |
| | | // spt.SplitterPosition = int.Parse( splitterPosition); |
| | | spt.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; |
| | | // spt.SplitterPosition = int.Parse( splitterPosition); |
| | | if (spt.Name.Contains("Mx")) |
| | | spt.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel1; |
| | | else |
| | | spt.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; |
| | | |
| | | } |
| | | } |
| | | } |