protected override void OnLoad(EventArgs e) { base.OnLoad(e); //Localization.LocalizeDataGrid(ref grdModules, LocalResourceFile); grdModules.DataSource = InstalledModulesController.GetInstalledModules(); grdModules.DataBind(); }
public void ExportData(XmlWriter writer) { //Write start of Installed Modules writer.WriteStartElement("installedModules"); //Iterate through Installed Modules foreach (InstalledModuleInfo module in InstalledModulesController.GetInstalledModules()) { module.WriteXml(writer); } //Write end of Installed Modules writer.WriteEndElement(); }