Exemple #1
0
        private void btnReadDescriptions_Click(object sender, EventArgs e)
        {
            if (!ValidatePaths())
            {
                return;
            }

            var rootPath = txtRootPath.Text;
            var vpp      = new RootedVirtualPathProvider(rootPath);

            btnReadDescriptions.Enabled = false;

            ReadPackages(vpp);

            btnReadDescriptions.Enabled = true;
        }
		private void btnReadDescriptions_Click(object sender, EventArgs e)
		{
			if (!ValidatePaths())
				return;

			var rootPath = txtRootPath.Text;
			var vpp = new RootedVirtualPathProvider(rootPath);

			btnReadDescriptions.Enabled = false;

			ReadPackages(vpp);

			btnReadDescriptions.Enabled = true;
		}