private void GridSubCategory_RowEditEnding(object sender, DataGridRowEditEndingEventArgs e)
        {
            bool ok = false;

            //var _emp = e.Row.Item as Employee;
            SubCategoryVO cat = e.Row.DataContext as SubCategoryVO;

            _cvm             = (SubCategoryViewModel)ViewModel;
            cat.ModifiedDate = DateTime.Now;

            ok = _cvm.ManageSave(cat);

            //if (ok)
            //{
            //    MessageBox.Show(SubCategoryModule.Properties.Resources.SaveSuccess,
            //        SubCategoryModule.Properties.Resources.SaveSubCategoryResult,
            //        MessageBoxButton.OK,
            //        MessageBoxImage.Information);
            //}
            //else
            //{
            //    MessageBox.Show(SubCategoryModule.Properties.Resources.SaveSuccess,
            //        SubCategoryModule.Properties.Resources.SaveSubCategoryResult,
            //        MessageBoxButton.OK,
            //        MessageBoxImage.Exclamation);
            //}
        }
        private void GridSubCategory_RowEditEnding(object sender, DataGridRowEditEndingEventArgs e)
        {
            bool ok = false;

            SubCategoryVO cat = e.Row.DataContext as SubCategoryVO;

            _cvm             = (SubCategoryViewModel)ViewModel;
            cat.ModifiedDate = DateTime.Now;

            ok = _cvm.ManageSave(cat);
        }