Hiển thị các bài đăng có nhãn basic design. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn basic design. Hiển thị tất cả bài đăng

Chủ Nhật, 26 tháng 4, 2015

[WINFORM] Basic of design window form UI

Note before start design form user interface (UI Form)
Basic UI Design
Form:

  1. AutoScaleMode: Font or DPI
  2. Font: choose default font for all form
  3. FormBorderStyle: None, FixedSingle, Fixed3D, FixedDialog, Sizeable, FixedToolWindow, SizeableToolWindow
  4. Size: Width, Height
  5. CancelButton
  6. AcceptButton
  7. HelpButton
  8. Localizable: set true for support multiple language
  9. Language: Multiple language
  10. ControlBox: Show/hide control box
  11. ShowInTaskbar: Show/hide on taskbar
  12. TopMost: Custom display on top window
  13. WindowState: Normal, Minimized, Maximized
  14. Opacity: Option for transparent window
  15. StartPosition: Manual, CenterScreen, WindowDefaultLocation, WindowDefaultBounds, CenterParent
UserControl:
  1. AutoScaleMode: Font or DPI or Inherit
  2. Font: set default font for all user control
  3. Size: Witdh, Height
Control:
  1. Anchor: Top, Left, Right, Bottom
  2. Dock: Top, Left, Right, Bottom, Fill
  3. BorderStyle: None, FixedSingle, Fixed3D
  4. Enable: Enable or disable interface control on GUI
  5. ReadOnly: Disable/Enable can edit control
  6. AutoSize (Label): True: auto size control, False: can custom size (height, width)
Common controls:
  1. TextBox, Button, Checkbox, ComboBox, Label...
  2. Panel, SplitContainer, GroupBox, TabControl
  3. MenuStrip, ToolStrip, StatusStrip, ContextMenuStrip
  4. TreeView, ListView, DataGridView