Qios RibbonForm QRibbonCaption添加qRibbonApplicationButton无法最大化问题

时间:2023-03-10 00:41:41
Qios RibbonForm QRibbonCaption添加qRibbonApplicationButton无法最大化问题

winform 用了Qios DevSuite系列的控件。

RibbonForm中QRibbonCaption添加qRibbonApplicationButton之后无法最大化。

修改qRibbonApplicationButton初始化操作在Designer.cs中InitializeComponent函数最后。

  //
// qRibbonApplicationButton【修复运行时不可最大化问题】
//
this.qRibbonApplicationButton = new Qios.DevSuite.Components.Ribbon.QRibbonApplicationButton();
this.qRibbonApplicationButton.ForegroundImage = global::MineMonitoring.UI.Properties.Resources.app;
this.qRibbonCaption1.ApplicationButton = this.qRibbonApplicationButton;
//this.qRibbonApplicationButton.CustomChildWindow = new MainViewApplicationMenu();