GtkSharp/Source/Addins/MonoDevelop.GtkSharp.Addin/GladeDesktopApplication.cs

20 lines
490 B
C#
Raw Normal View History

2018-02-28 17:55:16 +00:00
using System.Diagnostics;
using MonoDevelop.Ide.Desktop;
namespace MonoDevelop.GtkSharp.Addin
{
public class GladeDesktopApplication : DesktopApplication
{
private readonly string _filename;
public GladeDesktopApplication(string filename) : base("GladeApp", "Glade", true)
{
_filename = filename;
}
public override void Launch(params string[] files)
{
2018-02-28 17:55:16 +00:00
Process.Start("glade", _filename);
}
}
2018-02-28 17:55:16 +00:00
}