Fifth time Assignment

Source: Internet
Author: User

1. Demand Analysis

Users need a simple, easy-to-use software, with this view, the MP3 software is as follows:

2. Design Ideas

For the MP3 software, my bedroom thinks that adding a control is enough, but it should need a user interface, so we added the operation to read the MP3 file, and we can switch it arbitrarily. The 3 button is added and the bool is initially set to true, with his true or false to determine the space switch.

3, the code is as follows

Using system;using system.collections.generic;using system.componentmodel;using system.data;using System.Drawing;    Using system.linq;using system.text;using system.windows.forms;using system.io;using System.Media;namespace music Playback {        Public partial class Form1:form {public Form1 () {InitializeComponent ();        } bool Zaq = true;            private void Button1_Click (object sender, EventArgs e) {OpenFileDialog open = new OpenFileDialog (); Open.            Filter = "MP3 file |*.mp3| all formats |*.*";            DialogResult ds = Openfiledialog1.showdialog ();            String sa;                               if (ds = = DialogResult.OK) {string qwe= sa = openfiledialog1.filename; int index3 = sa.                LastIndexOf ("\ \"); string s = sa.                Substring (index3+1);                         LISTBOX1.ITEMS.ADD (s); } else {MessageBox.Show ("You have not selected any files, please re-Choose!            "," warning message ", Messageboxbuttons.okcancel, messageboxicon.warning);            }} private void Listbox1_doubleclick (object sender, EventArgs e) {                        String se =listbox1.getitemtext (listbox1.selecteditem);     Axwindowsmediaplayer1.url = SE;                        } private void Listbox1_Click (object sender, EventArgs e) {ListBox lis = new ListBox (); String se = lis. GetItemText (LIS.            SelectedItem);                                                              Axwindowsmediaplayer1.url = "se"; private void Button2_Click (object sender, EventArgs e) {if (Zaq = = Tru                e) {axWindowsMediaPlayer1.Ctlcontrols.pause ();            Zaq = false;                } else {axWindowsMediaPlayer1.Ctlcontrols.play ();             Zaq = true;  }                             }      private void Button3_Click (object sender, EventArgs e) {axwindowsmediaplayer1.url = Openfiledialo G1.                                       FileName; }                                          }}

4. Testing

5. PSP

PSP: Fifth time job

Personal Software

Process Stages

Timer (h)
Planning: Plan 8
. Estimate: The estimated time 4
Development: Development 5.8
. Analysis: Demand analysis 0.5
. Design Spec: Creating a design Document 1.5
. Coding Standard Code specification O.2
. Desing Specific design 1
. Coding Specific code 2
. Code Review Code review 0.2
. Text Test 0.3
Repotring Report 2
. Test Report Test report 0.2
. Size Measurement Computer workload 1.7
. Postmortem Summary afterwards 0.1

6. Summary  

O (︶^︶) o Alas, incremental development did a few, at first no clue, just made this, (single/multi-loop, loading lyrics, pictures did not do) in the following we will add.

For the addition of several teammates, you can make a lot of suggestions, the idea is open, but each of us should at least achieve a part of the code, so the team's scheduling and its own ability to be strengthened.

Fifth time Assignment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.