private void cmdCompile_Click(object sender, EventArgs e) { cmdStop.Enabled = true; panelSettings.Enabled = false; Package.Outputfile = txtOutputFilename.Text.Trim(); PKGCompilerArgs comp = new PKGCompilerArgs(); comp.SignCert = lstCert.Text; comp.SignLocation = StoreLocation.CurrentUser; comp.SignExtCert = lstExtSign.Text; comp.UseExtSign = radExtSign.Checked; BG.RunWorkerAsync(comp); }