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

21 lines
508 B
C#

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