コード例 #1
0
        public SearchForm(Playlist newPlaylist)
        {
            InitializeComponent();

            playlist = newPlaylist;
            songList = playlist.songs;
        }
コード例 #2
0
ファイル: Player.cs プロジェクト: ThePawnBreak/Music-Player
        public Player()
        {
            InitializeComponent();

            irrKlangEngine = new IrrKlang.ISoundEngine();

            tbarVolume.Value = 100;

            playlist = new Playlist(this);
            this.AddOwnedForm(playlist);
            playlist.Show();
            UpdatePlaylistPosition();

            timer = new Timer();
            timer.Enabled = true;
            timer.Interval = 500;
            timer.Tick += new EventHandler(tbarProgress_Update);
        }