private void gridGroups_CellDoubleClick(object sender, UI.ODGridClickEventArgs e)
        {
            FeeSchedGroup         feeSchedGroupCur = (FeeSchedGroup)gridGroups.ListGridRows[e.Row].Tag;
            FormFeeSchedGroupEdit formFG           = new FormFeeSchedGroupEdit(feeSchedGroupCur);

            formFG.ShowDialog();
            if (formFG.DialogResult == DialogResult.OK)
            {
                FeeSchedGroups.Update(feeSchedGroupCur);
            }
            //Still need to refresh incase the user deleted the FeeSchedGroup, since it returns DialogResult.Cancel.
            FilterFeeSchedGroups();
        }
        private void butAdd_Click(object sender, EventArgs e)
        {
            FeeSchedGroup feeSchedGroupNew = new FeeSchedGroup()
            {
                ListClinicNumsAll = new List <long>(), IsNew = true
            };
            FormFeeSchedGroupEdit formFG = new FormFeeSchedGroupEdit(feeSchedGroupNew);

            formFG.ShowDialog();
            if (formFG.DialogResult == DialogResult.OK)
            {
                FeeSchedGroups.Insert(feeSchedGroupNew);
                _listFeeSchedGroups.Add(feeSchedGroupNew);
                _listFeeSchedGroups = _listFeeSchedGroups.OrderBy(x => x.Description).ToList();
                FilterFeeSchedGroups();
            }
        }