private void fromPackageToolStripMenuItem_Click(object sender, EventArgs e) { SelectFromPackageForm selectFrom = new SelectFromPackageForm(ContentType.Texture); switch (selectFrom.ShowDialog()) { case DialogResult.OK: DummyObject.ApplyTexture(ContentStorage.LoadTexture(selectFrom.SelectedObjectName, selectFrom.TextureLayout)); break; default: break; } }
private void fromPackageToolStripMenuItem1_Click(object sender, EventArgs e) { SelectFromPackageForm selectFrom = new SelectFromPackageForm(ContentType.Animation); switch (selectFrom.ShowDialog()) { case DialogResult.OK: DummyObject.ApplyAnimation(ContentStorage.LoadAnimation(selectFrom.SelectedObjectName)); break; default: break; } }