public void Dispose() { foreach (var group in Groups) { group.Dispose(); } foreach (var condition in Conditions) { condition.Dispose(); } if (ParentGroup != null) { ParentLayoutGroup.Remove(LayoutGroup); } LayoutGroup.Dispose(); m_EditUse.Dispose(); m_SQLLogic.Dispose(); m_AddGroup.Dispose(); m_AddCondition.Dispose(); m_DeleteGroup.Dispose(); m_SQLLogicLayoutItem.Dispose(); m_MainSeparator.Dispose(); m_SQLLogicEmptySpace.Dispose(); m_EditUseLayoutItem.Dispose(); m_AddGroupLayoutItem.Dispose(); m_AddConditionLayoutItem.Dispose(); m_DeleteGroupLayoutItem.Dispose(); }
public void Dispose() { m_ConditionGroupLayout.Dispose(); m_EditUse.Dispose(); m_Condition.Dispose(); m_Operator.Dispose(); m_EditValue.Dispose(); m_RemoveButton.Dispose(); m_EditUseLayoutItem.Dispose(); m_ConditionLayoutItem.Dispose(); m_OperatorLayoutItem.Dispose(); m_EditValueLayoutItem.Dispose(); m_RemoveButtonLayoutItem.Dispose(); }