public override object Clone() { LteTplCell cell = new LteTplCell(); PropertyInfo[] properties = base.GetType().GetProperties(); foreach (PropertyInfo info in properties) { object obj2 = info.GetValue(this, null); info.SetValue(cell, obj2, null); } return cell; }
public TemplateLTECellModule(LteTplCell TplCell) { base.ParentTplCell = TplCell; this.m_TplCell = TplCell; }
private void newPropertiesForm_TemplateListCancelEvent(LteTplCell tplCell) { this.m_TplCellColl.LTETplCellList.RemoveAt(this.m_TplCellColl.LTETplCellList.Count - 2); this.LoadData(); this.m_TplCellColl.LTETplCellList.Remove(tplCell); this.Refresh(); }