Click here to Skip to main content
14,364,335 members
   

C#

 
GeneralRe: How to disable other buttons based on user role login Pin
Richard MacCutchan10-Nov-19 7:20
protectorRichard MacCutchan10-Nov-19 7:20 
GeneralRe: How to disable other buttons based on user role login Pin
Eddy Vluggen10-Nov-19 8:32
mveEddy Vluggen10-Nov-19 8:32 
GeneralRe: How to disable other buttons based on user role login Pin
BillWoodruff10-Nov-19 7:47
mveBillWoodruff10-Nov-19 7:47 
GeneralRe: How to disable other buttons based on user role login Pin
Eddy Vluggen10-Nov-19 8:45
mveEddy Vluggen10-Nov-19 8:45 
GeneralRe: How to disable other buttons based on user role login Pin
Eddy Vluggen10-Nov-19 9:01
mveEddy Vluggen10-Nov-19 9:01 
GeneralRe: How to disable other buttons based on user role login Pin
BillWoodruff10-Nov-19 12:06
mveBillWoodruff10-Nov-19 12:06 
GeneralRe: How to disable other buttons based on user role login Pin
Eddy Vluggen10-Nov-19 12:59
mveEddy Vluggen10-Nov-19 12:59 
QuestionIs the command to check if the bell is running or stopped ? Pin
Member 24584677-Nov-19 21:55
memberMember 24584677-Nov-19 21:55 
I have the following C # statement:
...
using (SoundPlayer player = new SoundPlayer(Properties.Resources.ring))
{
player.Play();

  //What should I write here? 
  while (If the bell is running, wait here)
  {
      if (player.Stop()==true)
      {
          this.progressBarControl1.Visible = false; //false = không cho phép hiện
      }
  }
}
... 

I want to check if the ringer is running or stopping, if it is running then wait until it stops before running this.progressBarControl1.Visible = false.
AnswerRe: Is the command to check if the bell is running or stopped ? Pin
Richard Deeming8-Nov-19 2:39
mveRichard Deeming8-Nov-19 2:39 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Member 245846711-Nov-19 18:45
memberMember 245846711-Nov-19 18:45 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Richard Deeming12-Nov-19 1:15
mveRichard Deeming12-Nov-19 1:15 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Member 245846712-Nov-19 15:25
memberMember 245846712-Nov-19 15:25 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Richard Deeming13-Nov-19 2:30
mveRichard Deeming13-Nov-19 2:30 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Member 245846713-Nov-19 16:14
memberMember 245846713-Nov-19 16:14 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Richard Deeming14-Nov-19 2:12
mveRichard Deeming14-Nov-19 2:12 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Member 245846717-Nov-19 15:39
memberMember 245846717-Nov-19 15:39 
GeneralRe: Is the command to check if the bell is running or stopped ? Pin
Richard Deeming17-Nov-19 23:23
mveRichard Deeming17-Nov-19 23:23 
QuestionLooking for Text To Speech library for C# ? Pin
Member 24584677-Nov-19 17:01
memberMember 24584677-Nov-19 17:01 
AnswerRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan7-Nov-19 22:04
protectorRichard MacCutchan7-Nov-19 22:04 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846710-Nov-19 18:10
memberMember 245846710-Nov-19 18:10 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan10-Nov-19 23:15
protectorRichard MacCutchan10-Nov-19 23:15 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 798912210-Nov-19 23:54
memberMember 798912210-Nov-19 23:54 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan11-Nov-19 1:11
protectorRichard MacCutchan11-Nov-19 1:11 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846712-Nov-19 16:33
memberMember 245846712-Nov-19 16:33 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan12-Nov-19 23:07
protectorRichard MacCutchan12-Nov-19 23:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.