示例#1
0
        private void EditorForm_Load(object sender, EventArgs e)
        {
            Program.Debug.Show();
            if (Program.Start.ShowDialog(this) != DialogResult.OK)
            {
                this.Close();
                return;
            }

            this.overview  = new OverviewTab(this);
            this.screen    = new ScreenTab(this);
            this.map       = new MapTab(this);
            this.cutscenes = new CutscenesTab(this);
            this.tilesets  = new TilesetsTab(this);
            this.gradients = new GradientsTab(this);
            this.music     = new MusicTab(this);
            this.ambiance  = new AmbianceTab(this);
            this.objects   = new ObjectsTab(this);
            this.worldIni  = new WorldIniTab(this);

            StoryChanged();
        }
 public void Constructor(ObjectsTab tabPanel)
 {
     image.sprite = tabPanel.Sprite;
     tab          = tabPanel;
 }
 private void SetSoundPanels(ObjectsTab tab)
 {
     panelGenerator.Constructor(tab.ObjectFiles);
 }