# 对专机2部6轴平台支持,修改HexalMC
This commit is contained in:
@@ -11,10 +11,10 @@ namespace HexcalMC.Form
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// Initialize the AboutBox to display the product information from the assembly information.
|
||||
// Change assembly information settings for your application through either:
|
||||
// - Project->Properties->Application->Assembly Information
|
||||
// - AssemblyInfo.cs
|
||||
// Initialize the AboutBox to display the product information from the assembly
|
||||
// information. Change assembly information settings for your application through either:
|
||||
// - Project->Properties->Application->Assembly Information
|
||||
// - AssemblyInfo.cs
|
||||
Text = string.Format("关于 {0}", AssemblyTitle);
|
||||
radLabelProductName.Text = AssemblyProduct;
|
||||
radLabelVersion.Text = string.Format("Version {0}", AssemblyVersion);
|
||||
@@ -31,7 +31,6 @@ namespace HexcalMC.Form
|
||||
Close();
|
||||
}
|
||||
|
||||
|
||||
#region Assembly Attribute Accessors
|
||||
|
||||
public string AssemblyTitle
|
||||
@@ -51,7 +50,8 @@ namespace HexcalMC.Form
|
||||
return titleAttribute.Title;
|
||||
}
|
||||
|
||||
// If there was no Title attribute, or if the Title attribute was the empty string, return the .exe name
|
||||
// If there was no Title attribute, or if the Title attribute was the empty string,
|
||||
// return the .exe name
|
||||
return Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
|
||||
}
|
||||
}
|
||||
@@ -118,6 +118,6 @@ namespace HexcalMC.Form
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion Assembly Attribute Accessors
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user