Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: B1 Studio, SystemFormBase, providing different systemformbase object in ItemEvent and MenuEvent

$
0
0

Hi All,

 

I found the solution so,

For the future consideration, different hascode is because of the closed form .cs instance, I added the event listener when the form initializes, but didn't remove the event listener , now when I open the new form then this new form will receive the events two times one for the previous form and one for current form,

 

So, Whenever you add the eventlistener remove the eventlistener on formCloseBefore Event, using following syntax,

Application.SBO_Application.MenuEvent -= this.MenuEventHandler;


Viewing all articles
Browse latest Browse all 9076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>