private void Play_Click(object sender, EventArgs e) { if (AudioPlayOrginal != null) { AudioPlayOrginal.Play(); audioIsOginalPlayed = true; } }
private void playSteganograph_Click(object sender, EventArgs e) { if (AudioPlaySteganography != null) { AudioPlaySteganography.Play(); audioIsSteganographPlayed = true; } }
private void Play_Click(object sender, EventArgs e) { if (AudioPlay != null) { if (audioIsPlayed) { AudioPlay.Pause(); audioIsPlayed = false; Play.Text = "Play"; } else { AudioPlay.Play(); audioIsPlayed = true; Play.Text = "Pause"; } } }
private void playSteganograph_Click(object sender, EventArgs e) { if (AudioPlaySteganography != null) { if (audioIsSteganographPlayed) { AudioPlaySteganography.Pause(); audioIsSteganographPlayed = false; playSteganograph.Text = "Play"; } else { AudioPlaySteganography.Play(); audioIsSteganographPlayed = true; playSteganograph.Text = "Pause"; } } }