using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace LYFZ.Software.MainBusiness.SystemSettings { public class frmShowPictureBox : LYFZ.Software.UI.frmShowPictureBox { public string filePath = ""; public frmShowPictureBox() { this.Load+=frmShowPictureBox_Load; } private void frmShowPictureBox_Load(object sender, EventArgs e) { if(!string.IsNullOrEmpty(filePath)) { //Image img = Image.FromFile(); this.pbImageBox.LoadAsync(filePath); } //if(img.w) } } }