private void subItemCondAdd_Cond_Click(object sender, EventArgs e)
        {
            TreeView tvList = subItemCondition.Tag as TreeView;

            ConditionHelper conditionHelper = new ConditionHelper();

            if (conditionHelper.CondAddCondClick(sender, e, xmlCore, tvList) == false)
            {
                return;
            }

            Global._VelixianForms.FindForm("ITEMCONDITION").Touch();
        }
        private void lvIConditions_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (lvIConditions.SelectedItems.Count > 0)
            {
                ListViewItem lvi = lvIConditions.SelectedItems[0];
                if (lvi != null && lvi.Tag != null && lvi.Tag.GetType() == typeof(SHConditions))
                {
                    SHConditions conds = (SHConditions)lvi.Tag;
                    if (conds != null)
                    {
                        pgIConditionElement.SelectedObject = conds;
                        pgIConditionElement.Tag            = lvi;

                        ConditionHelper conditionHelper = new ConditionHelper();
                        conditionHelper.ProcessConditions(xmlCore, tvIConditionDetail, conds);
                        Global._mainForm.SetStatusLabelText(conds.CompiledMessage);
                    }
                }
            }
            m_ListViewController.OnSelectedIndexChanged();
        }