//----< upload button to open upload view >----------------
 private void Upload_Click(object sender, RoutedEventArgs e)
 {
     if (ServerUrl == null)
     {
         MessageBox.Show("Please connect with Server first!");
     }
     else
     {
         Upload up = new Upload(reference);
         up.Show();
         foreach (string cate in CateList)
         {
             up.Upload_Cate.Items.Add(cate);
         }
         foreach (string file in fileList)
         {
             up.Upload_Child.Items.Add(file);
         }
     }
 }
Example #2
0
 public MetadataTool(Upload reference)
 {
     upload = reference;
 }