private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { //Form2 form = new Form2(); //form.Show(); //NetScan scan = new NetScan(true); this.Disconnect(); nscan.EnableButtons(); nscan.KillScanThread(); nscan.Show(); this.Hide(); }
public MainMenu() { InitializeComponent(); // if (!this.CheckInternetConnection()) // { // Environment.Exit(1); // } nscan = new NetScan(); nscan.Owner = this; nscan.Show(); }