public static void OpenBlockEditor()
        {
            Map16Editor me = new Map16Editor();

            me.StartPosition = FormStartPosition.CenterParent;
            me.Owner         = ReubenController.MainWindow;

            if (ActiveEditor != null)
            {
                if (ActiveEditor is LevelEditor)
                {
                    LevelEditor le = (LevelEditor)ActiveEditor;
                    me.ShowDialog(le.CurrentLevel.Type, 0, le.CurrentLevel.GraphicsBank, le.CurrentLevel.AnimationBank, le.CurrentLevel.Palette);
                }
                else
                {
                    WorldEditor we = (WorldEditor)ActiveEditor;
                    me.ShowDialog(we.CurrentWorld.Type, 0, 0x70, we.CurrentWorld.GraphicsBank, we.CurrentWorld.Palette);
                }
            }
            else
            {
                me.ShowDialog();
            }
        }
        public static void OpenBlockEditor(int definitionIndex, int selectedTileIndex, int graphics1, int graphics2, int paletteIndex)
        {
            Map16Editor me = new Map16Editor();

            me.StartPosition = FormStartPosition.CenterParent;
            me.Owner         = ReubenController.MainWindow;

            me.ShowDialog(definitionIndex, selectedTileIndex, graphics1, graphics2, paletteIndex);
        }
        public static void OpenBlockEditor(int definitionIndex, int selectedTileIndex, int graphics1, int graphics2, int paletteIndex)
        {
            Map16Editor me = new Map16Editor();
            me.StartPosition = FormStartPosition.CenterParent;
            me.Owner = ReubenController.MainWindow;

            me.ShowDialog(definitionIndex, selectedTileIndex, graphics1, graphics2, paletteIndex);
        }
        public static void OpenBlockEditor()
        {
            Map16Editor me = new Map16Editor();
            me.StartPosition = FormStartPosition.CenterParent;
            me.Owner = ReubenController.MainWindow;

            if (ActiveEditor != null)
            {
                if (ActiveEditor is LevelEditor)
                {
                    LevelEditor le = (LevelEditor)ActiveEditor;
                    me.ShowDialog(le.CurrentLevel.Type, 0, le.CurrentLevel.GraphicsBank, le.CurrentLevel.AnimationBank, le.CurrentLevel.Palette);
                }
                else
                {
                    WorldEditor we = (WorldEditor)ActiveEditor;
                    me.ShowDialog(we.CurrentWorld.Type, 0, 0x70, we.CurrentWorld.GraphicsBank, we.CurrentWorld.Palette);
                }
            }
            else
            {
                me.ShowDialog();
            }
        }