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

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