代码
Dim obj As object = basemainform.controls("C1Ribbon1")obj.AllowMinimize = Trueobj.Minimized = True