• 大小: 38.58MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-02
  • 语言: C#
  • 标签:

资源简介

专业的电子病历编辑器控件,完全C#开发,支持三级查房,半结构化,痕迹保留,续打,类似WORD所见即所得的自由文档编辑,医学表达式,级联模板等电子病历行业特定需求。

资源截图

代码片段和文件信息

/*-------------------------------------------------------------
 *Author:金源
 *DataTime:2013.04.07 17:10
 *Function:DCWriter运行环境检测
 --------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Reflection;
using System.Net.NetworkInformation;
using System.Diagnostics;
using Microsoft.Win32;
using System.Text.Regularexpressions;

namespace AutomaticDetection
{
    public partial class MainForm : Form
    {
        /// 
        /// 判断操作系统是否为XP系统
        /// 

        public bool IsWindowsXP
        {
            get
            {
                return (Environment.OSVersion.Platform == PlatformID.Win32NT) && (Environment.OSVersion.Version.Major == 5) && (Environment.OSVersion.Version.Minor == 1);
            }
        }
        /// 
        /// 判断操作系统是否为WIN7系统
        /// 

        public bool IsWindows7
        {
            get
            {
                return (Environment.OSVersion.Platform == PlatformID.Win32NT) && (Environment.OSVersion.Version.Major == 6) && (Environment.OSVersion.Version.Minor == 1);
            }
        }
        /// 
        /// 是否是域名
        /// 

        private bool isDomain = true;
        /// 
        /// 检测是否有.net4.0或以上版本
        /// 

        private bool isSeniorVer = false;
        /// 
        /// 是否有.NET2.0版本
        /// 

        private bool isThere = false;
        public MainForm()
        {
            InitializeComponent();
        }
        //1..Netframework版本检测  y:版本大于等于 2.0 sp2
        //2.将服务器站点在IE中设置为可信站点 如果framework版本为4.0以上 要还要在注册表中写入信息 
        //  “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETframework”下添加一个名为“EnableIEHosting”、类型为REG_DWORD、值为1的注册表项目。
        //3.设置.NET框架的安全模式
        //4.
        private void MainForm_Load(object sender EventArgs e)
        {
            // bool versions = GetDotNetVersions();
        }
        /// 
        /// 检测版本信息
        /// 

        /// 
        private void GetDotNetVersions()
        {
            string ver = System.Environment.Version.ToString();
            DirectoryInfo[] directories = new DirectoryInfo(Environment.SystemDirectory + @“\..\Microsoft.NET\framework“).GetDirectories(“v?.?.*“);

            RegistryKey kversion = Registry.LocalMachine;
            string address = @“Software\Microsoft\NET framework Setup\NDP\v2.0.50727“;
            RegistryKey key1 = kversion.OpenSubKey(address true);
            object versionvalue = key1.GetValue(“Version“);
            string addres = @“Software\Microsoft\NET framework Setup\NDP\v4.0“;
            RegistryKey key2 = kversion.OpenSubKey(addres true);
            string[] n

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3475  2013-04-09 17:07  DCSoft.Writer.Demo\AutomaticDetection\AutomaticDetection.csproj

     文件        227  2013-05-14 14:20  DCSoft.Writer.Demo\AutomaticDetection\AutomaticDetection.csproj.user

     文件       2560  2013-05-14 09:41  DCSoft.Writer.Demo\AutomaticDetection\AutomaticDetection.suo

     文件      19968  2013-05-15 17:37  DCSoft.Writer.Demo\AutomaticDetection\bin\Debug\AutomaticDetection.exe

     文件      36352  2013-05-15 17:37  DCSoft.Writer.Demo\AutomaticDetection\bin\Debug\AutomaticDetection.pdb

     文件      11608  2013-05-14 09:28  DCSoft.Writer.Demo\AutomaticDetection\bin\Debug\AutomaticDetection.vshost.exe

     文件        490  2010-03-17 22:39  DCSoft.Writer.Demo\AutomaticDetection\bin\Debug\AutomaticDetection.vshost.exe.manifest

     文件      22345  2013-05-06 16:45  DCSoft.Writer.Demo\AutomaticDetection\MainForm.cs

     文件      12364  2013-05-06 11:12  DCSoft.Writer.Demo\AutomaticDetection\MainForm.Designer.cs

     文件       6016  2013-05-06 11:12  DCSoft.Writer.Demo\AutomaticDetection\MainForm.resx

     文件        482  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Program.cs

     文件       1386  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Properties\AssemblyInfo.cs

     文件       2884  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Properties\Resources.Designer.cs

     文件       5612  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Properties\Resources.resx

     文件       1101  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Properties\Settings.Designer.cs

     文件        249  2013-04-07 14:52  DCSoft.Writer.Demo\AutomaticDetection\Properties\Settings.settings

     文件        311  2013-05-14 20:47  DCSoft.Writer.Demo\clear.bat

     文件    4974592  2013-05-15 17:36  DCSoft.Writer.Demo\Data\EMR.db

     文件       7804  2013-05-14 14:20  DCSoft.Writer.Demo\DCSoft.Writer.Demo2010.sln

    ..A..H.    178688  2013-05-15 11:25  DCSoft.Writer.Demo\DCSoft.Writer.Demo2010.suo

    I.A....       117  2012-11-30 21:24  DCSoft.Writer.Demo\DCSoft.Writer.Extension\app.config

    I.A....     14000  2013-05-14 14:53  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\DataSourceDescriptor.cs

     文件      12158  2013-05-08 18:55  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\DataSourceTreeViewControler.cs

     文件      10840  2013-05-14 08:15  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\DocumentFormatConverter.cs

    I.A....      1912  2013-04-13 15:25  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\EMRPropertyDescriptionAttribute.cs

     文件       1092  2013-04-13 15:25  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\IKBStoreProvider.cs

     文件       1925  2013-04-13 15:25  DCSoft.Writer.Demo\DCSoft.Writer.Extension\Data\KBStoreEventArgs.cs

    I.A....     14114  2013-05-14 07:49  DCSoft.Writer.Demo\DCSoft.Writer.Extension\DCSoft.Writer.Extension.csproj

     文件        227  2013-02-05 08:40  DCSoft.Writer.Demo\DCSoft.Writer.Extension\DCSoft.Writer.Extension.csproj.user

     文件      13255  2013-05-09 08:45  DCSoft.Writer.Demo\DCSoft.Writer.Extension\DCSoft.Writer.Extension.Publish.csproj

............此处省略1007个文件信息

评论

共有 条评论