Beispiel #1
0
        public AcercaDe()
        {
            InitializeComponent();
            label2.Text = "Versión " + InformacionPrograma.VersionActual;
            this.Icon   = Icon.ExtractAssociatedIcon(Application.ExecutablePath);

            this.pictureBox1.Image = Programa.ObtenerImagenIncrustada("logo");
        }
Beispiel #2
0
        /// <summary>
        /// Overridden. See the documentation on the base class for help on this member.
        /// </summary>
        protected override void OnPaintBackground(PaintEventArgs e)
        {
            try
            {
                if ((base.ClientRectangle.Width > 0) && (base.ClientRectangle.Height > 0))
                {
                    if (this.renderer != null)
                    {
                        this.renderer.DrawClientPanelBackground(e.Graphics, base.ClientRectangle);

                        if (dibujarGlossy)
                        {
                            e.Graphics.DrawImage(Programa.ObtenerImagenIncrustada("BackgroundGlossy"), 0, 0);
                        }
                    }
                    else
                    {
                        base.OnPaintBackground(e);
                    }
                }
            }
            catch { }
        }