示例#1
0
 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();
 }
示例#2
0
        public MainMenu()
        {
            InitializeComponent();
            //  if (!this.CheckInternetConnection())
            //  {
            //      Environment.Exit(1);
            //  }

            nscan       = new NetScan();
            nscan.Owner = this;
            nscan.Show();
        }