Usar la imagen como borde en C #

I am creating a custom application in C# and I need to use a bitmap image instead of the standard windows borders. How can i do this?

preguntado el 09 de marzo de 12 a las 14:03

Is this Windows Forms? If so, you can remove a Form's border by setting FormBorderStyle to None and ControlBox to false. Then you can put whatever you want in the client area of the Form. -

How custom is that? WPF? WinForms? -

1 Respuestas

If you are working with WinForms set

FormBorderStyle             a None
BackgroundImage             to your desired image
BackgroundImageLayout a Stretch

If you want to repeat a pattern on your boder instead, set

BackgroundImageLayout a Tile

and hide the center of the image with a panel.

respondido 09 mar '12, 15:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.