Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [OPEN] Error with Form.ShowInTaskbar = true
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[OPEN] Error with Form.ShowInTaskbar = true

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: [OPEN] Error with Form.ShowInTaskbar = true
    Posted: 22 December 2009 at 6:16am

If in the void Form_load of a form the property this.ShowInTaskbar = false is used, then in the following settings of the commandbar occurs an error (System.NullReferenceException was unhandled).
If this setting is done in the IDE no error occurs.

It is easily to reproduce this error in the CodeJock sample RibbonSample.csproj.

  private void frmMain_Load(object eventSender, System.EventArgs eventArgs)
  {
            this.ShowInTaskbar = false; // !!! insert this code !!!

   LoadIcons(); // here occurs the error
   CreateRibbonBar();


 

---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.