Can C # make a part of the image outside the form? Example below: 
- I do not know about winforms, but in wpf you can make a transparent dialog box with a picture and stick it in where you want, I think you need to play with the transparency of the dialog box. - Shakra
- I recommend you to study the manual: msdn.microsoft.com/ru-ru/library/6k15y9et(v=vs.110).aspx - Sublihim
- But on the whole, with your requests, it will be really easier for you to implement all your requests using WPF if you use .NET - Sublihim
- It is necessary to study this topic. - Alexander Puzanov
|
1 answer
You can do as suggested in the comments. It will be necessary to make an additional form, add a picture with a transparent background to the resources and put it on the background. The code will be approximately the following (here the picture is inserted programmatically):
public Form3() { InitializeComponent(); this.BackgroundImage = FormTransform.Properties.Resources._6; this.FormBorderStyle = FormBorderStyle.None; this.AllowTransparency = true; this.BackColor = Color.AliceBlue; this.TransparencyKey = this.BackColor; this.ShowInTaskbar = false; } Here's something like this you should have: 
PS Corrected the code according to the comment Seedorf . Thanks for the advice.
- The disadvantage of this method is that below, next to the launch, you can see that the second form appears - Oleg Klezovich
- oneThis can be avoided by changing the Showln Taskbar property to false on the form - Clarence
|