示例#1
0
        private void ImportUst(string dir)
        {
            Clear();
            Project = new Project(SingerManager.DefaultSinger);
            SetProject();
            var track = new Track(Project.DefaultSinger);
            var part  = track.AddPart();

            Ust.Current.Import(part, dir);
            PartEditor.Clear();
            PartEditor.Part           = part;
            Settings.Current.LastFile = dir;
            ImportTrack(track);
            SetPosition();
        }