Exemplo n.º 1
0
        private void RefreshSharedFolders()
        {
            var list = _shareHlp.SharedFolders().ToArray();

            dgvSharedFolders.DataSource = list;
            Text = String.Format(Tag.ToString(), list.Length);
            OpenToolStripMenuItem.Enabled = StopSharingAllToolStripMenuItem.Enabled = StopSharingToolStripMenuItem.Enabled = list.Any();
        }
Exemplo n.º 2
0
 public void SharedFoldersTest()
 {
     var list = _hlp.SharedFolders();
 }