C# 클래스 SystemRestoreExplorer.SystemMenu

A class that helps to manipulate the system menu of a passed form. Written by Florian "nohero" Stinglmayr
파일 보기 프로젝트 열기: nicbedford/SystemRestoreExplorer 1 사용 예제들

공개 메소드들

메소드 설명
AppendMenu ( int id, string item ) : bool
AppendMenu ( int id, string item, ItemFlags flags ) : bool
AppendSeparator ( ) : bool
FromForm ( Form form ) : SystemMenu
InsertMenu ( int pos, ItemFlags flags, int id, string item ) : bool
InsertMenu ( int pos, int id, string item ) : bool
InsertSeparator ( int pos ) : bool
ResetSystemMenu ( Form form ) : void
SystemMenu ( ) : System
VerifyItemID ( int id ) : bool

비공개 메소드들

메소드 설명
apiAppendMenu ( IntPtr hMenu, int flags, int newID, string item ) : int
apiGetSystemMenu ( IntPtr hWnd, int bReset ) : IntPtr
apiInsertMenu ( IntPtr hMenu, int position, int flags, int newId, string item ) : int

메소드 상세

AppendMenu() 공개 메소드

public AppendMenu ( int id, string item ) : bool
id int
item string
리턴 bool

AppendMenu() 공개 메소드

public AppendMenu ( int id, string item, ItemFlags flags ) : bool
id int
item string
flags ItemFlags
리턴 bool

AppendSeparator() 공개 메소드

public AppendSeparator ( ) : bool
리턴 bool

FromForm() 공개 정적인 메소드

public static FromForm ( Form form ) : SystemMenu
form System.Windows.Forms.Form
리턴 SystemMenu

InsertMenu() 공개 메소드

public InsertMenu ( int pos, ItemFlags flags, int id, string item ) : bool
pos int
flags ItemFlags
id int
item string
리턴 bool

InsertMenu() 공개 메소드

public InsertMenu ( int pos, int id, string item ) : bool
pos int
id int
item string
리턴 bool

InsertSeparator() 공개 메소드

public InsertSeparator ( int pos ) : bool
pos int
리턴 bool

ResetSystemMenu() 공개 정적인 메소드

public static ResetSystemMenu ( Form form ) : void
form System.Windows.Forms.Form
리턴 void

SystemMenu() 공개 메소드

public SystemMenu ( ) : System
리턴 System

VerifyItemID() 공개 정적인 메소드

public static VerifyItemID ( int id ) : bool
id int
리턴 bool