Esempio n. 1
0
        private void MainWindow_FormClosing(object sender, FormClosingEventArgs e)
        {
            try
            {
                //if (buildThread != null)
                //    buildThread.Abort();
                //while ( buildThread.IsAlive) ;
            }
            catch (Exception) { }

            IcarusNetSettings.Save();
        }
Esempio n. 2
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            this.OpenProject = null;

            IcarusNetSettings.Load();

            string[] args = Environment.GetCommandLineArgs();
            if (args.Length != 1)
            {
                var dir = new FileInfo(args[1]).Directory.FullName;
                OpenProjectFromPath(dir);
            }

            //setGrayedOut();
            //tabsTop.Enabled = true;
            //tabsTop.Visible = tabsTop.TabPages.Count != 0;
            //Application.AddMessageFilter()
        }
Esempio n. 3
0
 public static void Load()
 {
     Instance = JsonConvert.DeserializeObject <IcarusNetSettings>(File.ReadAllText(ProjectLocations.SettingsFile), jsonSettings);
 }