void SetList(UnitActAnimationsList foo)
 {
     AnimList = foo;
     listBox1.SuspendLayout();
     listBox1.Items.Clear();
     foreach (var item in foo.Acts)
     {
         listBox1.Items.Add(item.Name);
     }
     listBox1.SelectedIndex = 0;
     listBox1.ResumeLayout();
     listBox2.SelectedIndex = 0;
 }
 internal UnitAnimEditor(UnitActAnimationsList foo)
 {
     InitializeComponent();
     SetList(foo);
     timer1.Enabled = true;
 }