C# Flat Login Form in WinForm App
Here is C# WinForm Practice which is refer to following Youtube Channel “C# Ui Academy
Published in
2 min readOct 16, 2019
https://www.youtube.com/watch?v=JB37jM9jXF4
First step is WinFrom Environment Setting :
WinForm Property Setting :
- Start Position : CenterScreen
- AutoScale Mode : None
- Font : Century Gothic — Regular — 12
- FormBorderStyle : None (Make your Winfrom App more modem)
- Back Color : White
ToolBox Component
- Picture Box
- Dock : Select Left side , Import Picture as Zoom
Dock is convenient configuration to locate your component on panel
2. Label — SignUp(Cursor-Hand)
Cursor-Hand will has a hand effect when mouse passby.
3. Text Box — Password setting (UseSystemPassword-True)
It is a practical setting on Text Box for password box using.
4. Button — FlatStyle (Flat), BorderSize(0)
5. Exit Button — this.Dispose();
What is differenct between this.close() and this.dispose ()
Close() — managed resource can be temporarily closed and can be opened once again.
Dispose() — permanently removes managed or not managed resource