Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Contextmenu questions (Read 8726 times)
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Re: Contextmenu questions
Reply #15 - Jan 9th, 2014 at 7:42am
Print Post  
Hi Stoyan,

Yes the project is started from a static constructor. I will test your proposal this afternoon.

Greets,

Sander
  
Back to top
 
IP Logged
 
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Re: Contextmenu questions
Reply #16 - Jan 9th, 2014 at 9:47am
Print Post  
Hi Stoyan,

Any suggestions on how to achieve this?

Greets,

Sander
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Contextmenu questions
Reply #17 - Jan 9th, 2014 at 10:42am
Print Post  
I don't know what you are trying to achieve Smiley If you have static initialization code in a separate assembly and want it to run after Application.Current exists, you could move that code to some kind of static Init() method, and call Init from the App instance constructor.
  
Back to top
 
IP Logged
 
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Re: Contextmenu questions
Reply #18 - Jan 9th, 2014 at 10:59am
Print Post  
Ah, well actually i've tried that, but it gives the same error Shocked. Maybe its just possible in the way its setup.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Contextmenu questions
Reply #19 - Jan 9th, 2014 at 1:45pm
Print Post  
It cannot give you the same error if called from the App constructor. In the stack trace check if it's not still called in static context from somewhere.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint