aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TemplatedControl.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
commit0e7aaef3655c455094df9a6a4580ad0aff8519a1 (patch)
treecc4c0241ae0a6f40c2858f72645e8328f26d5a5a /src/GraphicObjects/TemplatedControl.cs
parenta2a18e264a8a2d586f2c058ebb5b2b15b745804e (diff)
rename CurrentInterface to IFace
Diffstat (limited to 'src/GraphicObjects/TemplatedControl.cs')
-rw-r--r--src/GraphicObjects/TemplatedControl.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs
index e0e77fc0..c231fd0f 100644
--- a/src/GraphicObjects/TemplatedControl.cs
+++ b/src/GraphicObjects/TemplatedControl.cs
@@ -66,7 +66,7 @@ namespace Crow
if (string.IsNullOrEmpty(_template))
loadTemplate ();
else
- loadTemplate (CurrentInterface.Load (_template));
+ loadTemplate (IFace.Load (_template));
}
}
/// <summary>
@@ -133,9 +133,9 @@ namespace Crow
this.ClearTemplateBinding();
if (template == null) {
- if (!CurrentInterface.DefaultTemplates.ContainsKey (this.GetType ().FullName))
+ if (!IFace.DefaultTemplates.ContainsKey (this.GetType ().FullName))
throw new Exception (string.Format ("No default template found for '{0}'", this.GetType ().FullName));
- this.SetChild (CurrentInterface.Load (CurrentInterface.DefaultTemplates[this.GetType ().FullName]));
+ this.SetChild (IFace.Load (IFace.DefaultTemplates[this.GetType ().FullName]));
}else
this.SetChild (template);
}