C# 클래스 CygwinContextMenu.FileShellExtension

Register and unregister simple shell context menus.
파일 보기 프로젝트 열기: Genbox/CygwinContextMenu 1 사용 예제들

공개 메소드들

메소드 설명
IsRegistered ( string fileType, string shellKeyName, bool userOnly ) : bool
Register ( string fileType, string shellKeyName, string menuText, string menuCommand, bool userOnly, bool makeExtended = false ) : void

Register a simple shell context menu.

Unregister ( string fileType, string shellKeyName, bool userOnly ) : void

Unregister a simple shell context menu.

메소드 상세

IsRegistered() 공개 정적인 메소드

public static IsRegistered ( string fileType, string shellKeyName, bool userOnly ) : bool
fileType string
shellKeyName string
userOnly bool
리턴 bool

Register() 공개 정적인 메소드

Register a simple shell context menu.
public static Register ( string fileType, string shellKeyName, string menuText, string menuCommand, bool userOnly, bool makeExtended = false ) : void
fileType string The file type to register.
shellKeyName string Name that appears in the registry.
menuText string Text that appears in the context menu.
menuCommand string Command line that is executed.
userOnly bool
makeExtended bool True means it will only show when CTRL key is down.
리턴 void

Unregister() 공개 정적인 메소드

Unregister a simple shell context menu.
public static Unregister ( string fileType, string shellKeyName, bool userOnly ) : void
fileType string The file type to unregister.
shellKeyName string Name that was registered in the registry.
userOnly bool
리턴 void