5
I created a graphic component and wrote a command line that removed the control bar from the graphic component, but all the buttons are gone. Is there any way to just let the Close button?
Or I’ll have what kind of component Form to another?
public Form1()
{
InitializeComponent();
this.StartPosition = FormStartPosition.CenterScreen;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
}
Try to use:
this.MaximizeBox = false;
 this.MinimizeBox = false;
if successful I put as an answer– Murilo Fechio
@Murilo-Fechio, in this case I want to create a window without the borders of the system, just with a button Close. Like the Microsoft Visual Studio window when it is installed.
– Israel Sousa