agrobot_base/Exemplos/Aspose.GIS-for-.NET-master/Apps/Geo.Epsg.Viewer/ProjectInfo.cs

21 lines
495 B
C#

using System.IO;
using System.Reflection;
namespace Geo.Epsg.Viewer
{
public class ProjectInfo
{
public string Description => new StreamReader(Assembly.GetExecutingAssembly()
.GetManifestResourceStream("Geo.Epsg.Viewer.ReadMe.md")!).ReadToEnd();
public string Title { get; } = "Epsg Viewer";
public void Run()
{
var newForm = new MainWindow();
newForm.Title = Title;
newForm.Show();
}
}
}