private void importTiledMapToolStripMenuItem_Click(object sender, EventArgs e)
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.InitialDirectory = System.Environment.CurrentDirectory;
ofd.Filter = "Tiled Json file (*.json)|*.json|All files (*.*)|*.*";
ofd.FilterIndex = 0;
if (ofd.ShowDialog() == DialogResult.OK)
{
getCurrentEditor().instance.importTiledMap(Path.GetFullPath(ofd.FileName).ToString());
}
}