Example #1
0
 protected override void Add()
 {
     if (!AddRight)
     {
         MessageBox.Show("��û�д�Ȩ�ޡ�", "��ʾ", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     FrmInterFaceDialog f = new FrmInterFaceDialog();
     f.ShowDialog();
 }
Example #2
0
        protected override void Add()
        {
            if (!AddRight)
            {
                MessageBox.Show("您没有此权限。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            FrmInterFaceDialog f = new FrmInterFaceDialog();

            f.ShowDialog();
        }
Example #3
0
        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();
        }
Example #4
0
        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();
        }