2007/08/27

Crystal Reports ViewerのBusinessObjectロゴを消す

2007/08/27 Monday - 20:30:12 by chameleon

Crystal Reports XI R2でWindowsアプリケーションを作成すると、Crystal Reports Viewerの右上に、「BusinessObject」というロゴが表示されます。これ、プロパティーの設定とかじゃ消えないんですね。WEBアプリケーションの方は、プロパティーの設定で消えるみたいなんですけどね。
で、非常に気になるわけです。なんで、BusinessObjectの宣伝しないといけないのかと・・・。
というわけで、コードで消してみることにします。
 private void toolStripButton_Click(object sender, EventArgs e)
         {
             List<system.Windows.Forms.ToolStripLabel> lbls = new List<toolStripLabel>();
             // コントロールオブジェクトに分解
             foreach (Control ctl in crystalReportViewer.Controls)
             {
                 // ツールバーを取得
     [...]