Tpmc9BaseLoadSmartObjects(ISmartObject) Method |
Load the smart objects to this device that are already loaded for the specified device.
Namespace: Crestron.SimplSharpPro.UIAssembly: Crestron.SimplSharpPro.UI (in Crestron.SimplSharpPro.UI.dll) Version: 2.21.121
Syntax
Exceptions
Example
The following will first show an Xpanel loading SmartObjects off the file system. The second panel shares the same SmartObject information of the first.
var sgPanel = new XpanelForSmartGraphics(0x05, this);
sgPanel.LoadSmartObjects(Directory.GetApplicationDirectory() + "\\xPanel.sgd");
var secondSgPanel = new Tpmc9(0x06, this);
secondSgPanel.LoadSmartObjects(sgPanel);
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also