Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. // ===++===
  2. //
  3. //  OrtizOL
  4. //
  5. // ===--===
  6. /*============================================================
  7. //
  8. // Clase: ControlImagen.cs
  9. //
  10. // Original en: http://goo.gl/vkZCG1
  11. //
  12. // Propósito: Control para visualización de una imagen.
  13. //
  14. ============================================================*/
  15. using System;
  16. using System.Collections.Generic;
  17. using System.ComponentModel;
  18. using System.Drawing;
  19. using System.Data;
  20. using System.Linq;
  21. using System.Text;
  22. using System.Threading.Tasks;
  23. using System.Windows.Forms;
  24.  
  25. namespace ElTriangulo.GUI
  26. {
  27.     public partial class ControlImagen : UserControl
  28.     {
  29.         /// <summary>
  30.         /// Control de presentación de imagen de título de la aplicación.
  31.         /// </summary>
  32.         public ControlImagen()
  33.         {
  34.             InitializeComponent();
  35.             // Asigna una imagen al control.
  36.             pbxTitulo.BackgroundImage = Properties.Resources.Titulo;
  37.         }
  38.     }
  39. }