Beispiel #1
0
        private void SaveMenus(MenusVM vm)
        {
            int res = _bll.AddMenus(vm);

            if (res > 0)
            {
                XtraMessageBox.Show("保存成功!", "提示", MessageBoxButtons.OK);
                RequestGridData();
                GetParentMenus();
            }
            else
            {
                DevExpress.XtraEditors.XtraMessageBox.Show("保存失败!", "提示", MessageBoxButtons.OK);
            }
        }