Ejemplo n.º 1
0
        public static void AddCommand(AdnCommand command, Assembly resAssembly)
        {
            command.ResAssembly = resAssembly;

            command.CreateControl();
        }
Ejemplo n.º 2
0
        // Static method to add new command, needs to be called
        // in add-in Activate typically
        public static void AddCommand(AdnCommand command)
        {
            command.ResAssembly = Assembly.GetExecutingAssembly();

            command.CreateControl();
        }