PanchalSoftwares.TextFinder.GUI/AboutBoxDefault.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
//-----------------------------------------------------------------------
// <copyright file="AboutBoxDefault.cs" company="Panchal Softwares">
// Copyright (c) Panchal Softwares. All rights reserved.
// </copyright>
// <author>Karn Panchal</author>
//-----------------------------------------------------------------------
/// <summary>
/// Namespace Text Finder GUI.
/// </summary>
namespace PanchalSoftwares.TextFinder.GUI
{
using System;
using System.Reflection;
using System.Windows.Forms;
/// <summary>
/// Partial Class About Box Default.
/// </summary>
public partial class AboutBoxDefault : Form
{
/// <summary>
/// Initializes a new instance of the <see cref="AboutBoxDefault"/> class.
/// </summary>
public AboutBoxDefault()
{
this.InitializeComponent();
this.Text = string.Format("About {0}", this.AssemblyTitle);
this.labelProductName.Text = this.AssemblyProduct;
this.labelVersion.Text = string.Format("Version {0}", this.AssemblyVersion);
this.labelCopyright.Text = this.AssemblyCopyright;
this.labelCompanyName.Text = this.AssemblyCompany;
this.textBoxDescription.Text = this.AssemblyDescription;
}
#region Assembly Attribute Accessors
/// <summary>
/// Gets the assembly title.
/// </summary>
/// <value>
/// The assembly title.
/// </value>
public string AssemblyTitle
{
get
{
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
if (attributes.Length > 0)
{
AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
if (titleAttribute.Title != string.Empty)
{
return titleAttribute.Title;
}
}
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
}
}
后面还有 107 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。