TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Israel
699
1.3k
217.5k
why its doesnt play???
Dec 13 2014 7:54 PM
Hi!
I wrote this code to make my wav playing when I click my button. There is no bugg(s). But its doesnt play. I dont understand why? Very strange. Any help please:
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.Media;
namespace Playing_sounds
{
public partial class Form1 : Form
{
private SoundPlayer _soundPlayer;
public Form1()
{
InitializeComponent();
_soundPlayer = new SoundPlayer("Bass Line.wav");
}
private void duelStateButton_CheckedChanged(object sender, EventArgs e)
{
if (duelStateButton.Checked)
{
duelStateButton.Text = "Stop";
_soundPlayer.Play();
}
else
{
duelStateButton.Text = "Play";
_soundPlayer.Stop();
}
}
}
}
Reply
Answers (
1
)
i want to implement Hindi text Editor in asp.net
Who beleive to this video???