private void Button_withoutTPMinfo_Click(object sender, EventArgs e) { if (form2.IsAccessible) { return; } if (form2.IsDisposed) { form2 = new withoutTPM(); } form2.Show(); }
private void Form1_Load(object sender, EventArgs e) { // Forms Initialization form2 = new withoutTPM(); form3 = new ForceSoftwareOnly(); }