private void BtnImport_Click(object sender, EventArgs e) { RenderBase.OAnimationListBase animation = (RenderBase.OAnimationListBase)FileIO.import(type); if (animation != null) { animations.list.AddRange(animation.list); foreach (RenderBase.OAnimationBase anim in animation.list) { AnimationsList.addItem(anim.name); } AnimationsList.Refresh(); } }
private void updateList() { AnimationsList.flush(); if (control != null) { control.load(-1); foreach (RenderBase.OAnimationBase animation in animations.list) { AnimationsList.addItem(animation.name); } } AnimationsList.Refresh(); }
private void BtnImport_Click(object sender, EventArgs e) { var animation = FileExport.ImportAnimation <T>(); if (animation != null) { animations.AddRange(animation); foreach (RenderBase.OAnimationBase anim in animation) { AnimationsList.addItem(anim.name); } AnimationsList.Refresh(); } }