Exemplo n.º 1
0
 private void listBoxFrames_DoubleClick(object sender, EventArgs e)
 {
     Frame f = (Frame)listBoxFrames.SelectedItem;
     if(f != null)
     {
         EditBox edb = new EditBox(f);
         edb.ShowDialog();
         listBoxFrames.Items.Clear();
         Game.Animations.allFrames.ForEach(i => listBoxFrames.Items.Add(i));
         listBoxFrames.SelectedItem = f;
     }
 }
Exemplo n.º 2
0
 private void listBoxAnimations_DoubleClick(object sender, EventArgs e)
 {
     Animation a = (Animation)listBoxAnimations.SelectedItem;
     if (a != null)
     {
         EditBox edb = new EditBox(a);
         edb.ShowDialog();
         listBoxAnimations.Items.Clear();
         Game.Animations.animations.ForEach(i => listBoxAnimations.Items.Add(i));
         listBoxAnimations.SelectedItem = a;
     }
 }