Aligment 의 Enumeration

 

아래처럼 위치에 관련된 enum 을 직접 만들어 쓰려고 했는데,

미리 제공되고 있네요;;

 

enum  PART_POSTION
{
 
    left
= 1,
 
    top
,
 
    right
,
 
    bottom
,
 
    none
= 0
 
}
 

 

 

 

.NET Framework 에서는 정렬에 관한 Framework Enumerations 를 제공하고 있습니다
 

 아래에서 적당한 것을 사용하시면 됩니다.~`

 

  - System.Windows.Forms.AnchorStyles 
  - System.Windows.Forms.Border3DSide 
  - System.Windows.Forms.DockStyle 
  - System.Windows.Forms.VisualStyles.Edges 
  - System.Windows.Forms.TabAlignment
  - System.Windows.Forms.ToolStripStatusLabelBorderSides
 - System.Windows.Forms.VisualStyles.VerticalAlignment

+ Recent posts