コード例 #1
0
 private void btnBrowse_Click(object sender, EventArgs e)
 {
     if (fldbrwDlg.ShowDialog(this) == DialogResult.OK)
     {
         this.CatchError(() => _shareHlp.ShareFolder(txtPath.Text = fldbrwDlg.SelectedPath));
     }
 }
コード例 #2
0
 public void ShareFolderTest()
 {
     Assert.AreEqual("test", _hlp.ShareFolder(@"b:\test"));
 }