如何隐藏winform中报表设计器中的按钮

https://www.devexpress.com/Support/Center/Question/Details/T246117

DesignMdiController.SetCommandVisibility(ReportCommand.NewReport, CommandVisibility.None);
DesignMdiController.SetCommandVisibility(ReportCommand.OpenFile, CommandVisibility.None);
DesignMdiController.SetCommandVisibility(ReportCommand.SaveAll, CommandVisibility.None);
DesignMdiController.SetCommandVisibility(ReportCommand.SaveFileAs, CommandVisibility.None);

原文地址:https://www.cnblogs.com/foreachlife/p/6107115.html