P
P
Peter2016-12-10 14:31:25
visual studio
Peter, 2016-12-10 14:31:25

How can I create a custom window in the program?

Good afternoon.
I want to write a program that will have a non-standard window view.
We all know what default windows look like in Windows itself. But there are programs that look different. For example, players, nero (if anyone else remembers).
I want to make a window in the form of a notebook sheet. I made a scan of a sheet of a notebook, but I did not find how to fasten this sheet as a program window with buttons (again, I would like to make them non-standard too) on the Internet. Some information is on C#. But you need the positives.
If important, the MVS 2015 development environment.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fat Lorrie, 2016-12-10
@Morpheus_God

For forms:

this.BackgroundImage = //Image
this.FormBorderStyle = FormBorderStyle.None;
this.Width = this.BackgroundImage.Width;
this.Height = this.BackgroundImage.Height;
this.TransparencyKey = Color.FromArgb(0, 255, 0); //Contrast Color

For WPF

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question