public virtual void LaunchGuiControl(XCore.Command command) { CheckDisposed(); string guicontrol = command.GetParameter("guicontrol"); string xpathToControl = String.Format("/window/controls/parameters/guicontrol[@id=\"{0}\"]", guicontrol); XmlNode xnControl = command.ConfigurationNode.SelectSingleNode(xpathToControl); if (xnControl != null) { using (IFwGuiControl dlg = DynamicLoader.CreateObject(xnControl.SelectSingleNode("dynamicloaderinfo")) as IFwGuiControl) { dlg.Init(m_mediator, xnControl.SelectSingleNode("parameters"), Object); dlg.Launch(); } } }