Пример #1
0
 //
 //Server new folder
 //
 private void newFolderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AddFolderForm addFolderForm = new AddFolderForm(this, FolderSide.Server);
     addFolderForm.Show();
 }
Пример #2
0
 //
 //add new folder tool
 //
 private void toolStripButton1_Click_1(object sender, EventArgs e)
 {
     string localPath = comboxLocal.Items[0].ToString();
     string fullPath = string.Empty;
     if (localPath != "Disk List")
     {
         AddFolderForm addFolder = new AddFolderForm(this,FolderSide.Local);
         addFolder.ShowDialog();
     }
     else 
     {
         MessageBox.Show("Path select error,Please choice an invadite one! ",
             "Path error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }