private void EditButton_Click(object sender, EventArgs e) { var popup = new VarAnimSelect(AnimateSimDescriptor.GetAnimTable(Scope, Operand.Source), Operand.AnimationID); popup.ShowDialog(); if (popup.DialogResult == DialogResult.OK) { Operand.AnimationID = (ushort)popup.SelectedAnim; } Master.SignalOperandUpdate(); }