Пример #1
0
 private void NewSong_MenuItem_Click(object sender, EventArgs e)
 {
     SongData songData = new SongData(this.gh3Songlist_0, this.forceRB3MidConversionToolStripMenuItem.Checked);
     if (songData.ShowDialog() == DialogResult.OK)
     {
         GH3Song gH3Song = this.bool_0 ? new GHASong() : new GH3Song();
         if (songData.bool_1)
         {
             Class250 @class = songData.method_1(this.class319_0, this.dataFolder);
             this.method_4(@class);
             gH3Song.vmethod_0(@class.class362_0.gh3Song_0);
         }
         if (songData.bool_0)
         {
             Class248 class2 = songData.method_0(this.dataFolder);
             this.method_4(class2);
             gH3Song.name = class2.string_1;
             gH3Song.no_rhythm_track = !class2.bool_0;
             gH3Song.use_coop_notetracks = class2.bool_1;
             gH3Song.version = 3;
             gH3Song.leaderboard = true;
             gH3Song.editable = true;
         }
         SongProperties songProperties = new SongProperties(gH3Song);
         if (songProperties.ShowDialog() == DialogResult.OK)
         {
             songProperties.GetSongWithChanges();
         }
         this.gh3Songlist_0.Add(gH3Song.name, gH3Song);
         this.method_4(new Class247(this.class319_0, this.gh3Songlist_0));
         this.method_0();
     }
 }