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

            IcarusNetSettings.Save();
        }
Exemple #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()
        }
Exemple #3
0
 public static void Load()
 {
     Instance = JsonConvert.DeserializeObject <IcarusNetSettings>(File.ReadAllText(ProjectLocations.SettingsFile), jsonSettings);
 }