Exemple #1
0
        public static void CheckHomePath()
        {
            EnvironmentConfiguration.SetEnvironmentVariables();

            if (IsFixHome())
            {
                using var frm = new FormFixHome();
                frm.ShowIfUserWant();
            }
        }
        public static void CheckHomePath()
        {
            GitCommandHelpers.SetEnvironmentVariable();

            if (IsFixHome())
            {
                using (var frm = new FormFixHome())
                    frm.ShowIfUserWant();
            }
        }
        public static void CheckHomePath()
        {
            GitCommandHelpers.SetEnvironmentVariable();

            if (IsFixHome())
            {
                using (var frm = new FormFixHome())
                    frm.ShowIfUserWant();
            }
        }
        private void ChangeHomeButton_Click(object sender, EventArgs e)
        {
            PageHost.SaveAll();
            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            PageHost.LoadAll();
            // TODO?: rescan

            // orginal:
            ////            throw new NotImplementedException(@"
            ////            Save();
            ////            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            ////            LoadSettings();
            ////            Rescan_Click(null, null);
            ////            ");
        }
        private void ChangeHomeButton_Click(object sender, EventArgs e)
        {
            PageHost.SaveAll();
            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            PageHost.LoadAll();
            // TODO?: rescan

            // orginal:
            ////            throw new NotImplementedException(@"
            ////            Save();
            ////            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            ////            LoadSettings();
            ////            Rescan_Click(null, null);
            ////            ");
        }