public InstallTypesDVC(RootElement root, bool pushing, bool filling, JobRunTable JRT, JobInstallationViewController JIVC) : base(root, pushing) { jrt = JRT; jivc = JIVC; if (InstallTypesDVC.dbInstallTypes == null || InstallTypesDVC.dbInstallTypes.Count == 0) { dbInstallTypes = InstallTypesDVC.ReadInstallTypes(); } if (filling) { this.Root = new RootElement("Choose install type"); Root.Add(new Section("Install types")); foreach (InstallationType installType in dbInstallTypes) { Root[0].Add(new InstallTypeBadgeElement(installType, null)); } } }
public void GoChooseInstallType() { var dvcInstallTypes = new InstallTypesDVC(null, true, true, this.NavUsedParts.Tabs._jobRunTable, this); NavigationController.PushViewController(dvcInstallTypes, true); }