protected override void Add() { if (!AddRight) { MessageBox.Show("��û�д�Ȩ�ޡ�", "��ʾ", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } FrmInterFaceDialog f = new FrmInterFaceDialog(); f.ShowDialog(); }
protected override void Add() { if (!AddRight) { MessageBox.Show("您没有此权限。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } FrmInterFaceDialog f = new FrmInterFaceDialog(); f.ShowDialog(); }
protected override void Edit() { if (!EditRight) { MessageBox.Show("您没有此权限。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (ctrlglebeType1.FocusedObject == null) { return; } FrmInterFaceDialog f = new FrmInterFaceDialog(); f.IsCreate = false; f.Object = ctrlglebeType1.FocusedObject; f.Uid = ctrlglebeType1.FocusedObject.UID; f.ShowDialog(); }
protected override void Edit() { if (!EditRight) { MessageBox.Show("��û�д�Ȩ�ޡ�", "��ʾ", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (ctrlglebeType1.FocusedObject==null) return; FrmInterFaceDialog f = new FrmInterFaceDialog(); f.IsCreate = false; f.Object = ctrlglebeType1.FocusedObject; f.Uid = ctrlglebeType1.FocusedObject.UID; f.ShowDialog(); }