Exemplo n.º 1
0
Arquivo: Main.cs Projeto: yqMac/School
 //
 //Server new folder
 //
 private void newFolderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AddFolderForm addFolderForm = new AddFolderForm(this, FolderSide.Server);
     addFolderForm.Show();
 }
Exemplo n.º 2
0
Arquivo: Main.cs Projeto: yqMac/School
 //
 //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);
     }
 }