public static void Main(string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); }
public static void Main(string[] args) { // Load configuration settings. Embroidr.UI.Configuration.RepositoryPath = ConfigurationManager.AppSettings["RepositoryPath"]; Embroidr.UI.Configuration.IndexFilePath = ConfigurationManager.AppSettings["IndexFilePath"]; Embroidr.UI.Configuration.DesignFormatsPath = ConfigurationManager.AppSettings["DesignFormatsPath"]; Embroidr.UI.Configuration.SvgPath = ConfigurationManager.AppSettings["SvgPath"]; Embroidr.UI.Configuration.IconPath = ConfigurationManager.AppSettings["IconPath"]; Embroidr.UI.Configuration.IgnoreJumpStitches = (ConfigurationManager.AppSettings["IgnoreJumpStitches"].ToLower() == "true"); Embroidr.UI.Configuration.FormatXmlOutput = (ConfigurationManager.AppSettings["FormatXmlOutput"].ToLower() == "true"); Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); }