diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 10:37:27 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 11:31:21 +0100 |
| commit | 42fcd3657d6425005ed7f429fe9b73cfb6fcf1c6 (patch) | |
| tree | 87f081e4487881eb4be0142514033ab6c7bd9bd7 /src/Interface.cs | |
| parent | f927821fd5678a29e6272c7ad4bd95e11957188b (diff) | |
remove duplicate of LoadDefault for templated controls, add DEBUG_LOAD
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index 8d3a8e80..6e9fb8a8 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -132,7 +132,7 @@ namespace Crow public static GraphicObject Load (Stream stream, Type type, object hostClass = null) { - #if DEBUG_LOAD_TIME + #if DEBUG_LOAD Stopwatch loadingTime = new Stopwatch (); loadingTime.Start (); #endif @@ -150,7 +150,7 @@ namespace Crow result = (GraphicObject)xs.Deserialize (stream); //result.DataSource = hostClass; - #if DEBUG_LOAD_TIME + #if DEBUG_LOAD FileStream fs = stream as FileStream; if (fs!=null) CurrentGOMLPath = fs.Name; |