Ejemplo n.º 1
0
 private void open_Click(object sender, EventArgs e)
 {
     if (openFileDialog.ShowDialog() == DialogResult.OK)
     {
         try
         {
             tree      = FileTree.OpenTree(openFileDialog.FileName);
             draw.tree = tree;
             UpdateImage();
         }
         catch (Exception)
         {
             MessageBox.Show("Error");
         }
     }
 }