private void LogoEmpresa() { try { Stream stream = new MemoryStream(c_empresalicenca.CarrregarLogoMarca()); var image = Image.FromStream(stream); pictureEdit2.Image = image; } catch (ArgumentNullException) { //throw; } }
private void LogoEmpresa() { try { Stream stream = new MemoryStream(c_empresalicenca.CarrregarLogoMarca()); var image = Image.FromStream(stream); this.BackgroundImage = image; this.BackgroundImageLayout = ImageLayout.Stretch; } catch (ArgumentNullException) { //throw; } }