• 大小: 2.88MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-12
  • 语言: C#
  • 标签: C#  项目  

资源简介

用c#写的个人日程管理系统,用皮肤插件,多款皮肤可任意调节,框架小巧功能强大。另附有毕业设计论文。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;
using System.Runtime.InteropServices;
namespace daily
{
    static class Program
    {
        /// 
        /// 设置由不同线程产生的窗口的显示状态。
        /// 

        /// 窗口句柄
        /// 0不可见但仍然运行1居中2最小化3最大化 
        /// 
        [DllImport(“User32.dll“)]
        private static extern bool ShowWindowAsync(IntPtr hWnd int cmdShow);
        /// 
        /// 将窗体置于最顶端
        /// 

        /// 窗口句柄
        /// 
        [DllImport(“User32.dll“)]
        private static extern bool SetForegroundWindow(IntPtr hWnd);
        /// 
        /// 应用程序的主入口点。
        /// 

        [STAThread]
        static void Main()
        {
            Process[] processes = Process.GetProcessesByName(“daily“);
            if (processes != null && processes.Length == 2)
            {
                processes[1].CloseMainWindow();
                ShowWindowAsync(processes[0].MainWindowHandle 1);
                SetForegroundWindow(processes[0].MainWindowHandle);
            }
            else
            {
                Global.GlobalVariable.InitSysParameter();
                Application.EnableVisualstyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new UI.FrmMainThread());
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-06-04 22:51  daily\
     目录           0  2013-06-04 22:51  daily\Backup\
     目录           0  2013-06-04 22:51  daily\Backup\SetupDaily\
     文件       51034  2007-11-23 10:41  daily\Backup\SetupDaily\SetupDaily.vdproj
     目录           0  2013-06-04 22:51  daily\Backup\daily\
     目录           0  2013-06-04 22:51  daily\Backup\daily\BusinessFacade\
     文件       15969  2007-11-22 15:36  daily\Backup\daily\BusinessFacade\BusAdminDaily.cs
     文件         173  2007-11-21 15:01  daily\Backup\daily\Config.xml
     目录           0  2013-06-04 22:51  daily\Backup\daily\Database\
     文件      352256  2007-11-22 11:12  daily\Backup\daily\Database\daily.mdb
     目录           0  2013-06-04 22:51  daily\Backup\daily\Entity\
     文件        3024  2007-11-05 10:26  daily\Backup\daily\Entity\DailyEntity.cs
     目录           0  2013-06-04 22:51  daily\Backup\daily\Global\
     文件        4409  2007-11-22 13:38  daily\Backup\daily\Global\DBManager.cs
     文件       22484  2007-11-22 10:48  daily\Backup\daily\Global\GlobalVariable.cs
     文件        1723  2007-11-15 10:21  daily\Backup\daily\Program.cs
     目录           0  2013-06-04 22:51  daily\Backup\daily\Properties\
     文件        1262  2007-11-07 10:58  daily\Backup\daily\Properties\AssemblyInfo.cs
     文件        4508  2007-11-26 11:15  daily\Backup\daily\Properties\Resources.Designer.cs
     文件        7598  2007-11-26 11:15  daily\Backup\daily\Properties\Resources.resx
     文件        1102  2007-11-21 10:36  daily\Backup\daily\Properties\Settings.Designer.cs
     文件         249  2007-11-01 11:26  daily\Backup\daily\Properties\Settings.settings
     目录           0  2013-06-04 22:51  daily\Backup\daily\Resources\
     文件      111286  2005-12-12 11:17  daily\Backup\daily\Resources\Icon.ico
     文件       52207  2006-10-24 06:54  daily\Backup\daily\Resources\Office 2007-OFFICE07.skn
     文件       15086  2004-05-10 19:58  daily\Backup\daily\Resources\a.bmp
     文件       15086  2001-05-10 20:18  daily\Backup\daily\Resources\b.bmp
     文件       15086  2001-05-10 19:46  daily\Backup\daily\Resources\c.bmp
     文件       15086  2001-05-10 20:02  daily\Backup\daily\Resources\d.bmp
     文件       15086  2001-05-10 20:00  daily\Backup\daily\Resources\e.bmp
     文件       15086  2001-05-10 20:02  daily\Backup\daily\Resources\l.bmp
............此处省略153个文件信息

评论

共有 条评论