| | |
| | | using CefSharp; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.ToolBox; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Configuration; |
| | | using System.Data; |
| | | using System.Net; |
| | | using System.Windows.Documents; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.UserControl |
| | |
| | | this.parentGuid = _parentGuid; |
| | | this.ucUpFile1.parentGuid = _parentGuid; |
| | | ucUpFile1.UpChanged += UcUpFile1_UpChanged; |
| | | |
| | | getBtn(); |
| | | } |
| | | |
| | |
| | | btn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.printarea_32x32; |
| | | btn.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.TopCenter; |
| | | btn.Name = Guid.NewGuid().ToString(); |
| | | btn.Size = new System.Drawing.Size(120, 120); |
| | | btn.Size = new System.Drawing.Size(180, 140); |
| | | btn.TabIndex = 1; |
| | | btn.Text = obj.btnTxt; |
| | | btn.Margin = new System.Windows.Forms.Padding(10); |
| | | btn.Margin = new System.Windows.Forms.Padding(5); |
| | | btn.Tag = obj.xls; |
| | | this.flowLayoutPanel1.Controls.Add(btn); |
| | | btn.Click += Btn_Click; |