コード例 #1
0
 public void Edit()
 {
     if (editor != null && editor.Created)
     {
         editor.Focus();
     }
     else
     {
         editor           = new SpriteEditor();
         editor.Animation = animation;
         editor.Save     += new EventHandler(editor_Save);
         editor.Text      = "Sprite Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }
コード例 #2
0
 public void Edit()
 {
     if (editor != null && editor.Created)
         editor.Focus();
     else
     {
         editor = new SpriteEditor();
         editor.Animation = animation;
         editor.Save += new EventHandler(editor_Save);
         editor.Text = "Sprite Properties: " + name;
         editor.MdiParent = Program.IDE;
         editor.Show();
     }
 }