private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormFeeSchedEdit FormF = new FormFeeSchedEdit();

            FormF.FeeSchedCur   = _listFeeScheds[e.Row];
            FormF.ListFeeScheds = _listFeeScheds;
            FormF.ShowDialog();
            if (FormF.DialogResult == DialogResult.OK)
            {
                FillGrid();
                _isChanged = true;
                for (int i = 0; i < _listFeeScheds.Count; i++)
                {
                    if (FormF.FeeSchedCur.FeeSchedNum == _listFeeScheds[i].FeeSchedNum)
                    {
                        gridMain.SetSelected(i, true);
                    }
                }
            }
        }
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            FormFeeSchedEdit FormF = new FormFeeSchedEdit();

            FormF.FeeSchedCur           = new FeeSched();
            FormF.FeeSchedCur.IsNew     = true;
            FormF.FeeSchedCur.ItemOrder = _listFeeScheds.Count;
            FormF.ListFeeScheds         = _listFeeScheds;
            FormF.ShowDialog();
            if (FormF.DialogResult == DialogResult.OK)
            {
                FillGrid();
                _isChanged = true;
                for (int i = 0; i < _listFeeScheds.Count; i++)
                {
                    if (FormF.FeeSchedCur.FeeSchedNum == _listFeeScheds[i].FeeSchedNum)
                    {
                        gridMain.SetSelected(i, true);
                    }
                }
            }
        }