Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
AnswerRe: Registry Permissions Pin
Zach.Saunders29-Aug-11 8:34
Zach.Saunders29-Aug-11 8:34 
GeneralRe: Registry Permissions Pin
Anthony Mushrow29-Aug-11 8:48
professionalAnthony Mushrow29-Aug-11 8:48 
GeneralRe: Registry Permissions Pin
Zach.Saunders29-Aug-11 9:04
Zach.Saunders29-Aug-11 9:04 
GeneralRe: Registry Permissions Pin
Anthony Mushrow29-Aug-11 9:24
professionalAnthony Mushrow29-Aug-11 9:24 
GeneralRe: Registry Permissions Pin
Zach.Saunders29-Aug-11 10:47
Zach.Saunders29-Aug-11 10:47 
QuestionC# Button Click - Press and Release Pin
asterix529-Aug-11 1:33
asterix529-Aug-11 1:33 
AnswerRe: C# Button Click - Press and Release Pin
Shameel29-Aug-11 2:02
professionalShameel29-Aug-11 2:02 
GeneralRe: C# Button Click - Press and Release Pin
asterix529-Aug-11 4:06
asterix529-Aug-11 4:06 
Inside the loop, of course is something that I run. I use it to send Skype commands to turn off/on the microphone.

As I was looking, I tried to simplify it, so just dealing simply with the MouseDown and MouseUp events turning OFF/ON the mic.
Here below is the code, but still is not working - what should I execute on the Button Click itself?
_____________________________________________________________

private void button2_Click_1(object sender, EventArgs e)
{

}

public void OnMouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Skype.Attach(6, true);
SKYPE4COMLib.Command command1 = new SKYPE4COMLib.Command();
command1.Command = "SET MUTE OFF";
command1.Blocking = false;
command1.Id = 1000;
Skype.SendCommand(command1);
}

//on mouse up event
private void OnMouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Skype.Attach(6, true);
SKYPE4COMLib.Command command1 = new SKYPE4COMLib.Command();
command1.Command = "SET MUTE ON";
command1.Blocking = false;
command1.Id = 1000;
Skype.SendCommand(command1);

}
GeneralRe: C# Button Click - Press and Release Pin
Shameel29-Aug-11 5:42
professionalShameel29-Aug-11 5:42 
AnswerRe: C# Button Click - Press and Release PinPopular
Wayne Gaylard29-Aug-11 2:52
professionalWayne Gaylard29-Aug-11 2:52 
Question2D FFT / DFT + NxN Convolution (image processing) [SOLVED] [modified] Pin
Dusan Paulovic29-Aug-11 1:10
Dusan Paulovic29-Aug-11 1:10 
AnswerRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
share_holder29-Aug-11 1:54
share_holder29-Aug-11 1:54 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Dusan Paulovic29-Aug-11 5:13
Dusan Paulovic29-Aug-11 5:13 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
MicroVirus29-Aug-11 2:00
MicroVirus29-Aug-11 2:00 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Dusan Paulovic29-Aug-11 5:11
Dusan Paulovic29-Aug-11 5:11 
AnswerMessage Removed Pin
29-Aug-11 5:37
professionalN_tro_P29-Aug-11 5:37 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Dusan Paulovic29-Aug-11 7:10
Dusan Paulovic29-Aug-11 7:10 
GeneralMessage Removed Pin
29-Aug-11 7:32
professionalN_tro_P29-Aug-11 7:32 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) [modified] Pin
Dusan Paulovic29-Aug-11 8:57
Dusan Paulovic29-Aug-11 8:57 
AnswerRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Chris Losinger29-Aug-11 7:14
professionalChris Losinger29-Aug-11 7:14 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Dusan Paulovic29-Aug-11 8:59
Dusan Paulovic29-Aug-11 8:59 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Chris Losinger29-Aug-11 9:04
professionalChris Losinger29-Aug-11 9:04 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Dusan Paulovic29-Aug-11 9:28
Dusan Paulovic29-Aug-11 9:28 
GeneralRe: 2D FFT / DFT + NxN Convolution (image processing) Pin
Chris Losinger29-Aug-11 9:38
professionalChris Losinger29-Aug-11 9:38 
QuestionUnmanaged memory issue [modified] Pin
c4tchm4tt29-Aug-11 0:10
c4tchm4tt29-Aug-11 0:10 

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.