private void picSprite_Click(object sender, EventArgs e) { if (Editor.Instance.curGame.AM.MyActor.Count == 0) return; ChooseSprite cs = new ChooseSprite(Editor.Instance.curGame.AM.MyActor[lstActor.SelectedIndex]); cs.ShowDialog(); RefreshDatabase(); }
private void picSprite_Click(object sender, EventArgs e) { ChooseSprite cs = new ChooseSprite(_actor); cs.ShowDialog(); }