示例#1
0
 public void Edit()
 {
     if (editor != null && editor.Created)
     {
         editor.Focus();
     }
     else
     {
         editor           = new PathEditor();
         editor.Save     += new EventHandler(editor_Save);
         editor.Text      = "Path Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }
 public void Edit()
 {
     if (editor != null && editor.Created)
         editor.Focus();
     else
     {
         editor = new PathEditor();
         editor.Save += new EventHandler(editor_Save);
         editor.Text = "Path Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }