Exemplo n.º 1
0
 private void LogoEmpresa()
 {
     try
     {
         Stream stream = new MemoryStream(c_empresalicenca.CarrregarLogoMarca());
         var    image  = Image.FromStream(stream);
         pictureEdit2.Image = image;
     }
     catch (ArgumentNullException)
     {
         //throw;
     }
 }
Exemplo n.º 2
0
 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;
     }
 }