Пример #1
0
 public void Edit()
 {
     if (editor != null && editor.Created)
     {
         editor.Focus();
     }
     else
     {
         editor           = new BackgroundEditor();
         editor.Save     += new EventHandler(editor_Save);
         editor.Text      = "Background Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }
 public void Edit()
 {
     if (editor != null && editor.Created)
         editor.Focus();
     else
     {
         editor = new BackgroundEditor();
         editor.Save += new EventHandler(editor_Save);
         editor.Text = "Background Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }