Ignore:
Timestamp:
Jul 15, 2006, 7:22:39 PM (18 years ago)
Author:
mayuki
Message:

ファイルバージョンの形式が間違ってますと警告が出ていてうざかったので、別な属性にアプリケーションバージョン文字列を入れるようにした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/InfoWindow.cs

    r66 r79  
    55using System.Windows.Forms;
    66using System.Reflection;
     7using System.IO;
    78
    89namespace MacFace.FloatApp
     
    3132                        Assembly asm = Assembly.GetEntryAssembly();
    3233                        lblAppName.Text = Application.ProductName;
    33                         lblAppVersion.Text = Application.ProductVersion;
     34                        lblAppVersion.Text = ((ApplicationVersionStringAttribute)GetAssemblyAttribute(asm, typeof(ApplicationVersionStringAttribute))).Version;
    3435                        lblAppCopyright.Text = ((AssemblyCopyrightAttribute)GetAssemblyAttribute(asm, typeof(AssemblyCopyrightAttribute))).Copyright;
    3536                }
Note: See TracChangeset for help on using the changeset viewer.