53GB

Final Modern UI – Aero Snap Window, Resizing, Sliding Menu – C#, WinForms



Final Modern UI – Aero Snap Window, Resizing, Sliding Menu – C#, WinForms

Create a modern, flat, borderless form with all the standard behaviors of a window.
– Aero Snap Window
– Resizing
– Custom title bar.
– Drag the form
– Control Box buttons
– Sliding menu (Expand or Collapse menu)
– Multi-level drop down menu

🔔Content:
0:00 Intro
1:27 Design Form
5:01 Start Coding
5:43 Dragging the form
6:42 Remove title bar and keep Snap Window
11:43 Control Box Buttons
13:07 Sliding Menu
17:05 Resize the form
19:41 DropDowm Menu

Note: Fix size error on first minimized.
Subscribe to the Load event and initialize the formSize field with the client size of the form.
private void Form1_Load(object sender, EventArgs e)
{
formSize = this.ClientSize;
}

🌍Links:
– Get source code (Improved): https://rjcodeadvance.com/final-modern-ui-aero-snap-window-resizing-sliding-menu-c-winforms/
– How to download and use FontAwesome.Sharp icons: https://youtu.be/5AsJJl7Bhvc
– How to create a multilevel dropdown menu: https://youtu.be/2h69Ce4MZiQ
– How to create a Custom Controls: https://www.youtube.com/playlist?list=PLwG-AtjFaHdMQtyReCzPdEe6fZ57TqJUs
– Download a RJ Custom Controls: https://www.nuget.org/packages/RJCodeAdvance.RJControls/
– WM_NCCALCSIZE message: https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-nccalcsize
– WM_NCHITTEST message: https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-nchittest
– Design based on: https://assets.materialup.com/uploads/4ea00675-3832-41cf-8034-142d07ab5d88/preview.png
– Code based on: https://stackoverflow.com/a/30423128

😸Social networking
Facebook: https://facebook.com/rjcodeadvanceEN
Instagram: https://instagram.com/rjcodeadvanceen

#WindowsForm #ModernUI #CSharp #VisualStudio

Exit mobile version