示例#1
0
        public CommandToolButton AddToolButton(Command command)
        {
            var button = new CommandToolButton(command);

            AddToolButton(button, command.Category);
            return(button);
        }
示例#2
0
文件: Ribbon.cs 项目: ondrej11/o106
 public CommandToolButton AddToolButton(Command command)
 {
     var button = new CommandToolButton(command);
     AddToolButton(button, command.Category);
     return button;
 }