DotNet.WinForm/Program.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//-----------------------------------------------------------------
// All Rights Reserved , Copyright (C) 2014 , Hairihan TECH, Ltd. 
//-----------------------------------------------------------------

using System;
using System.Configuration;
using System.Data;
using System.IO;
using System.ServiceModel;
using System.Windows.Forms;
using System.Collections.Generic;

// using System.Security.Principal;

namespace DotNet.WinForm
{
    using DevExpress.Skins;
    using DotNet.Business;
    using DotNet.Utilities;
    using FSLib.App.SimpleUpdater;

    /// <summary>
    /// Program
    /// 
    /// 修改纪录
    ///
    ///		2011.07.15 版本:2.0 JiRiGaLa 创建。
    ///		2007.10.25 版本:1.0 JiRiGaLa 创建。
    ///		中国电信 / China Telecom 中国网通 / China Netcom 中国联通 / China Unicom
    ///
    /// <author>
    ///		<name>JiRiGaLa</name>
    ///		<date>2011.07.15</date>
    /// </author> 
    /// </summary>
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            // 自动升级
            // Updater.CheckUpdateSimple();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // System.Console.WriteLine(WindowsIdentity.GetCurrent().ItemName);

            // 主应用程序集名
            BaseSystemInfo.MainAssembly = System.Reflection.Assembly.GetEntryAssembly().GetName().Name;
            BaseSystemInfo.StartupPath = Application.StartupPath;
            BaseSystemInfo.AppIco = Path.Combine(Application.StartupPath, BaseSystemInfo.AppIco);

            // 修改样式效果的
            DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("Office 2010 Blue");
            SkinManager.EnableFormSkins();

后面还有 186 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。