agrobot_base/Exemplos/Aspose.GIS-for-.NET-master/Apps/Geo.Features.Editor/ProjectInfo.cs

20 lines
507 B
C#
Raw Normal View History

2023-12-06 13:04:54 +00:00
using System.IO;
using System.Reflection;
namespace Geo.Features.Editor{
public class ProjectInfo
{
public string Description => new StreamReader(Assembly.GetExecutingAssembly()
.GetManifestResourceStream("Geo.Features.Editor.ReadMe.md")!).ReadToEnd();
public string Title { get; } = "Features Editor";
public void Run()
{
var newForm = new MainWindow();
newForm.Title = Title;
newForm.Show();
}
}
}