private void butAdd_Click(object sender, EventArgs e)
        {
            FormEmployeeEdit FormEE = new FormEmployeeEdit();

            FormEE.IsNew       = true;
            FormEE.EmployeeCur = new Employee();
            FormEE.ShowDialog();
            if (FormEE.DialogResult == DialogResult.OK)
            {
                Employees.RefreshCache();
                FillGrid();
                isChanged = true;
            }
        }
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            Employee         selectedEmployee = (Employee)gridMain.ListGridRows[e.Row].Tag;
            FormEmployeeEdit FormEE           = new FormEmployeeEdit();

            FormEE.EmployeeCur = selectedEmployee;
            FormEE.ShowDialog();
            if (FormEE.DialogResult == DialogResult.OK)
            {
                Employees.RefreshCache();
                FillGrid();
                isChanged = true;
            }
        }