• 大小: 316KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-13
  • 语言: 其他
  • 标签: 桌面提醒  

资源简介

工作流待办事项桌面消息提醒器,开机自动启动、自动提醒、点击消息在浏览器中打开待办.zip

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace MessageReminder
{
    partial class AboutBox : Form
    {
        public AboutBox()
        {
            InitializeComponent();
            this.Text = String.Format(“关于 {0}“ Assemblytitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format(“版本 {0}“ AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.labelCompanyName.Text = AssemblyCompany;
            //this.textBoxDescription.Text = AssemblyDescription;
        }

        #region 程序集特性访问器

        public string Assemblytitle
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute) false);
                if (attributes.Length > 0)
                {
                    AssemblytitleAttribute titleAttribute = (AssemblytitleAttribute)attributes[0];
                    if (titleAttribute.title != ““)
                    {
                        return titleAttribute.title;
                    }
                }
                return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
            }
        }

        public string AssemblyVersion
        {
            get
            {
                string strVer = Assembly.GetExecutingAssembly().GetName().Version.ToString();
                int pos = strVer.LastIndexOf(‘.‘);
                strVer = strVer.Substring(0 pos);
                return strVer;
            }
        }

        public string AssemblyDescription
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyDescriptionAttribute)attributes[0]).Description;
            }
        }

        public string AssemblyProduct
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyProductAttribute)attributes[0]).Product;
            }
        }

        public string AssemblyCopyright
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-12-31 15:08  MessageReminder\
     目录           0  2015-12-25 12:43  MessageReminder\MessageReminder\
     文件         935  2015-12-25 08:43  MessageReminder\MessageReminder.sln
     文件       58880  2015-12-31 15:09  MessageReminder\MessageReminder.v11.suo
     文件        3592  2015-12-25 11:18  MessageReminder\MessageReminder\AboutBox.cs
     文件        6108  2015-12-25 11:18  MessageReminder\MessageReminder\AboutBox.Designer.cs
     文件       11020  2015-12-25 11:18  MessageReminder\MessageReminder\AboutBox.resx
     文件        2280  2015-12-25 16:50  MessageReminder\MessageReminder\App.config
     目录           0  2015-12-25 08:43  MessageReminder\MessageReminder\bin\
     目录           0  2015-12-28 11:29  MessageReminder\MessageReminder\bin\Debug\
     文件      366080  2015-12-31 15:04  MessageReminder\MessageReminder\bin\Debug\MessageReminder.exe
     文件        2280  2015-12-25 16:50  MessageReminder\MessageReminder\bin\Debug\MessageReminder.exe.config
     文件      112128  2015-12-31 15:04  MessageReminder\MessageReminder\bin\Debug\MessageReminder.pdb
     文件       22472  2015-12-31 15:09  MessageReminder\MessageReminder\bin\Debug\MessageReminder.vshost.exe
     文件        2280  2015-12-25 16:50  MessageReminder\MessageReminder\bin\Debug\MessageReminder.vshost.exe.config
     文件         490  2010-03-17 22:39  MessageReminder\MessageReminder\bin\Debug\MessageReminder.vshost.exe.manifest
     目录           0  2015-12-25 08:43  MessageReminder\MessageReminder\bin\Release\
     文件       25776  2015-12-31 15:04  MessageReminder\MessageReminder\Form1.cs
     文件       16153  2015-12-28 14:13  MessageReminder\MessageReminder\Form1.Designer.cs
     文件       32400  2015-12-28 14:13  MessageReminder\MessageReminder\Form1.resx
     文件        2312  2015-12-31 14:22  MessageReminder\MessageReminder\Login.cs
     文件        4552  2015-12-28 14:13  MessageReminder\MessageReminder\Login.Designer.cs
     文件       18869  2015-12-28 14:13  MessageReminder\MessageReminder\Login.resx
     文件        1374  2015-12-31 15:04  MessageReminder\MessageReminder\LoginInfo.cs
     文件        3769  2015-12-28 14:13  MessageReminder\MessageReminder\LoginInfo.Designer.cs
     文件       18869  2015-12-28 14:13  MessageReminder\MessageReminder\LoginInfo.resx
     文件        7043  2015-12-25 16:09  MessageReminder\MessageReminder\MessageReminder.csproj
     文件         227  2015-12-25 09:09  MessageReminder\MessageReminder\MessageReminder.csproj.user
     文件         519  2015-12-25 16:32  MessageReminder\MessageReminder\MsgForm.cs
     文件        1884  2015-12-25 16:32  MessageReminder\MessageReminder\MsgForm.Designer.cs
     文件      411715  2015-12-25 16:32  MessageReminder\MessageReminder\MsgForm.resx
............此处省略41个文件信息

评论

共有 条评论

相关资源