Exemplo n.º 1
0
 public static void UnRegister()
 {
     FileShellExtension.Unregister(FileType, KeyName);
 }
Exemplo n.º 2
0
 public static bool IsRegistered()
 {
     return(FileShellExtension.IsRegistered(FileType, KeyName));
 }
Exemplo n.º 3
0
        public static void Register()
        {
            string menuCommand = string.Format("\"{0}\" W \"%1\"", Application.ExecutablePath);

            FileShellExtension.Register(FileType, KeyName, MenuText, menuCommand);
        }