property page fix
added some debug
This commit is contained in:
@@ -354,11 +354,14 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public FormatInfo ActiveFormat
|
||||
{
|
||||
get { return LocalFormat != null ? LocalFormat : ActiveParent.ActiveFormat; }
|
||||
get {return LocalFormat != null ? LocalFormat : ActiveParent.ActiveFormat;}
|
||||
}
|
||||
public FormatInfo LocalFormat
|
||||
{
|
||||
get { return MyFormat; }
|
||||
get {
|
||||
Console.WriteLine("DV Local {0} {1} {2}", (MyFormat == null) ? "MYformat is null" : MyFormat.Name,FormatID,(MyFormat == null)?0:MyFormat.FormatID);
|
||||
return MyFormat;
|
||||
}
|
||||
}
|
||||
public ConfigDynamicTypeDescriptor MyConfig
|
||||
{
|
||||
|
@@ -1335,13 +1335,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
if (_ActiveFormat == null)
|
||||
_ActiveFormat = (LocalFormat != null ? LocalFormat : ActiveParent.ActiveFormat);
|
||||
Console.WriteLine("Active {0}", (_ActiveFormat == null) ? "_ActiveFormat is null" : _ActiveFormat.Name);
|
||||
return _ActiveFormat;
|
||||
}
|
||||
//get { return LocalFormat != null ? LocalFormat : ActiveParent.ActiveFormat; }
|
||||
}
|
||||
public FormatInfo LocalFormat
|
||||
{
|
||||
get { return MyContent.MyFormat; }
|
||||
get {
|
||||
Console.WriteLine("Local {0}", (MyContent.MyFormat==null)?"MYformat is null": MyContent.MyFormat.Name);
|
||||
return MyContent.MyFormat; }
|
||||
}
|
||||
private ConfigDynamicTypeDescriptor _MyConfig=null;
|
||||
public ConfigDynamicTypeDescriptor MyConfig
|
||||
|
Reference in New Issue
Block a user