private void tilesEditorToolStripMenuItem_Click(object sender, EventArgs e) { // import an image and cut into tiles ImportTilesEditor TilesEditorWindow = new ImportTilesEditor(this); TilesEditorWindow.LoadFromParentForm(); TilesEditorWindow.ShowDialog(); }