EdgeSharp
EdgeSharp copied to clipboard
How to customize the size of the main form
1、How to customize the size of the main form? 2、How can I set the main form to have no borders? 3、How to set the main form icon? 4、How to customize the main form Minimize Maximize and Close?
@tenove sorry I have not had the bandwidth to complete the wiki, but the samples should help with most of the questions.
I believe you are referring to WinForms.
1、How to customize the size of the main form? The window configuration is done here -WindowOptions - If what you need is not covered here, then you can use WinForms documentation to make those changes.
2、How can I set the main form to have no borders?
- There is borderless option -https://github.com/webview2/EdgeSharp.Samples/blob/60a862ae703720b2ccfbe9f877276b2cb75252f4/win-32/EdgeSharp.Sample/SampleConfig.cs#L30
3、How to set the main form icon?
- The sample did that already - https://github.com/webview2/EdgeSharp.Samples/blob/60a862ae703720b2ccfbe9f877276b2cb75252f4/winform/EdgeSharp.WinForms.Sample/EdgeSharp.WinForms.Sample.csproj#L8
4、How to customize the main form Minimize Maximize and Close?
- If you mean for borderless, this is something you may have to look into. This maybe helpful - https://github.com/chromelyapps/Chromely/issues/276
Oh, I'm very sorry, I didn't express it clearly, what I want to say is angular-react-vue