Esempio n. 1
0
        public static bool DoView(IArchiveMasterForm masterForm)
        {
            if (masterForm.ArchiveDetailForm == null)
            {
                MessageForm.ShowError("您只能通过表格来查看数据!");
                return(false);
            }

            //if (this.DisplayManager.CurrentItem == null)
            //{
            //    MessageForm.ShowError("请选择要查看的记录!");
            //    return false;
            //}

            masterForm.ShowArchiveDetailForm();

            return(true);
        }
        public static bool DoView(IArchiveMasterForm masterForm)
        {
            if (masterForm.ArchiveDetailForm == null)
            {
                MessageForm.ShowError("��ֻ��ͨ��������鿴���ݣ�");
                return false;
            }

            //if (this.DisplayManager.CurrentItem == null)
            //{
            //    MessageForm.ShowError("��ѡ��Ҫ�鿴�ļ�¼��");
            //    return false;
            //}

            masterForm.ShowArchiveDetailForm();

            return true;
        }