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

            command.CreateControl();
        }
Esempio 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();
        }