Example #1
0
        public LevelTabPage(Level level)
        {
            Editor = new LevelEditorControl()
            {
                Name  = "Editor",
                Level = level,
                Dock  = DockStyle.Fill
            };

            Level = level;

            level.OnDataChanged += (sender, args) => Text = level.Name + "*";
            level.OnPersisted   += (sender, args) => Text = level.Name;
        }
Example #2
0
        public LevelTabPage( Level level )
        {
            Editor = new LevelEditorControl()
            {
                Name = "Editor",
                Level = level,
                Dock = DockStyle.Fill
            };

            Level = level;

            level.OnDataChanged += ( sender, args ) => Text = level.Name + "*";
            level.OnPersisted += ( sender, args ) => Text = level.Name;
        }