示例#1
0
 private void ScanNetworkToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var networkScanForm = new NetworkScanner(this.persistence, this.connectionManager))
     {
         networkScanForm.ShowDialog();
         this.UpdateFavoritesBindingSource();
     }
 }
 private void ScanNetworkToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var networkScanForm = new NetworkScanner(this.persistence))
     {
         networkScanForm.ShowDialog();
         this.UpdateFavoritesBindingSource();
     }
 }