public static void deleteRelation(DemoApp.frmHTMLeditor pform, IfacesEnumsStructsClasses.IHTMLElement e) { string dlk = e.getAttribute("dblink", 1).ToString(); if (e.getAttribute("dblink", 1) == null) { return; } // (markElement.markStateDef)Enum.Parse(typeof(markElement.markStateDef), (string)(dr["state"])); controlTypes ct = (controlTypes)Enum.Parse(typeof(controlTypes), dlk); if (ct == controlTypes.CUS_CTRL_TEXTAREA) { controls.textArea t = new DemoApp.eq_controls.controls.textArea(ct); t.deletMeRelation(e, pform); } if (ct == controlTypes.CUS_CTRL_RADIO) { controls.radioSelection t = new DemoApp.eq_controls.controls.radioSelection(ct); t.deletMeRelation(e, pform); } }
public static void deleteRelation(DemoApp.frmHTMLeditor pform, IfacesEnumsStructsClasses.IHTMLElement e) { string dlk = e.getAttribute("dblink", 1).ToString(); if (e.getAttribute("dblink", 1) == null) return; // (markElement.markStateDef)Enum.Parse(typeof(markElement.markStateDef), (string)(dr["state"])); controlTypes ct = (controlTypes)Enum.Parse(typeof(controlTypes), dlk); if (ct == controlTypes.CUS_CTRL_TEXTAREA) { controls.textArea t = new DemoApp.eq_controls.controls.textArea(ct); t.deletMeRelation(e, pform); } if (ct == controlTypes.CUS_CTRL_RADIO) { controls.radioSelection t = new DemoApp.eq_controls.controls.radioSelection(ct); t.deletMeRelation(e, pform); } }