Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Planner.NET v.3 question (Read 5286 times)
M Evanko
Guest


Planner.NET v.3 question
Mar 21st, 2006 at 2:08pm
Print Post  
Hello,

I just downloaded release 3 of planner.net and experiencing a 'MindFusion.Scheduling.WinForms.Calendar.DaySettings' is inaccessible due to its protection level.  The sample code I'm using came from the DayOfWeekStyles Property definition in the help file.

Is there something I'm doing wrong?

Mike
  
Back to top
 
IP Logged
 
mevanko
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 21st, 2006
Re: Planner.NET v.3 question
Reply #1 - Mar 21st, 2006 at 5:18pm
Print Post  
I just resolved the problem by commenting out the line.
Here it is: // s.Style = calendar1.DaySettings.Style.Clone() as Style;

Sorry about posting in this gouping.

Mike

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Planner.NET v.3 question
Reply #2 - Mar 21st, 2006 at 5:27pm
Print Post  
Hi,

It seems DaySettings no longer exists in the last version of Planner.NET, but we haven't updated the help file properly.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Planner.NET v.3 question
Reply #3 - Mar 21st, 2006 at 6:36pm
Print Post  
Now there are distinct DaySettings properties for most of the views, they can be accessed via MonthSettings, DayRangeSettings and WeekRangeSettings.

In version 3 you can create a new style like this:

s.Style = new Style();

There is no need to Clone() an existing style anymore.
  
Back to top
 
IP Logged
 
mevanko
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 21st, 2006
Re: Planner.NET v.3 question
Reply #4 - Mar 21st, 2006 at 6:38pm
Print Post  
Thanks.  Things seem to be working nicely.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint