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

C#

 
AnswerRe: How do I get Mouse position with C# Pin
RepliCrux18-Jun-07 20:11
RepliCrux18-Jun-07 20:11 
GeneralRe: How do I get Mouse position with C# Pin
mercenary0118-Jun-07 20:29
mercenary0118-Jun-07 20:29 
GeneralRe: How do I get Mouse position with C# Pin
Christian Graus18-Jun-07 21:00
protectorChristian Graus18-Jun-07 21:00 
GeneralRe: How do I get Mouse position with C# Pin
mercenary0118-Jun-07 21:24
mercenary0118-Jun-07 21:24 
QuestionSQL Server CLR Trigger web Service error? Pin
granshah @ eVisionISF18-Jun-07 20:07
granshah @ eVisionISF18-Jun-07 20:07 
QuestionHi, how to find out global mouse click events from my application? Pin
CodeVarma18-Jun-07 20:01
CodeVarma18-Jun-07 20:01 
AnswerRe: Hi, how to find out global mouse click events from my application? Pin
Christian Graus18-Jun-07 20:09
protectorChristian Graus18-Jun-07 20:09 
QuestionRegarding Systemtray - contextmenu using Windows Services Pin
jmavn18-Jun-07 19:28
jmavn18-Jun-07 19:28 
Hi,

I have created a sample Windows Service, in which I want to provide a notify icon on the system tray.

I have placed a notify icon and a contextmenustrip on the Service's Designer form, and on the OnStart() method of the Service I have assigned a value to the contextmenustrip property of the notifyicon. The following code snippet is written on the OnStart() event of the service,

contextMenuStrip1.Items.Add("Login");<br />
contextMenuStrip1.Items.Add("ViewRecentDocuments");<br />
<br />
notifyIcon1.ContextMenuStrip = contextMenuStrip1;<br />
notifyIcon1.Text = "Notifier";<br />
notifyIcon1.Visible = true;<br />


After that I have installed the Service in the system, and started the service. The notifyicon get displayed, but while right-clicking on it, contextmenu didnt displayed.

Is my code is correct one, if not what change should I do, to make the contextmenu to be displayed on notifyicon's right-click event..

Anyone knows the solution, please reply me.

Confused | :confused:

Thankfully,
jm

AnswerRe: Regarding Systemtray - contextmenu using Windows Services Pin
Sathesh Sakthivel18-Jun-07 19:39
Sathesh Sakthivel18-Jun-07 19:39 
QuestionRe: Regarding Systemtray - contextmenu using Windows Services Pin
jmavn19-Jun-07 0:54
jmavn19-Jun-07 0:54 
QuestionRegarding Systemtray - contextmenu using Windows Services Pin
jmavn18-Jun-07 19:27
jmavn18-Jun-07 19:27 
QuestionProducing a finished product Pin
Eric (eD)18-Jun-07 18:42
Eric (eD)18-Jun-07 18:42 
AnswerRe: Producing a finished product Pin
Not Active18-Jun-07 19:13
mentorNot Active18-Jun-07 19:13 
AnswerRe: Producing a finished product Pin
RepliCrux18-Jun-07 19:13
RepliCrux18-Jun-07 19:13 
AnswerRe: Producing a finished product Pin
Eric (eD)18-Jun-07 19:23
Eric (eD)18-Jun-07 19:23 
GeneralRe: Producing a finished product Pin
Eric (eD)18-Jun-07 19:33
Eric (eD)18-Jun-07 19:33 
GeneralRe: Producing a finished product Pin
Not Active18-Jun-07 19:34
mentorNot Active18-Jun-07 19:34 
GeneralRe: Producing a finished product [modified] Pin
RepliCrux18-Jun-07 19:49
RepliCrux18-Jun-07 19:49 
GeneralRe: Producing a finished product Pin
Not Active19-Jun-07 1:57
mentorNot Active19-Jun-07 1:57 
GeneralRe: Producing a finished product Pin
RepliCrux19-Jun-07 12:47
RepliCrux19-Jun-07 12:47 
QuestionPreventing multiple instances of the window Pin
I.explore.code18-Jun-07 17:47
I.explore.code18-Jun-07 17:47 
AnswerRe: Preventing multiple instances of the window Pin
RepliCrux18-Jun-07 17:57
RepliCrux18-Jun-07 17:57 
GeneralRe: Preventing multiple instances of the window Pin
I.explore.code18-Jun-07 18:32
I.explore.code18-Jun-07 18:32 
GeneralRe: Preventing multiple instances of the window Pin
RepliCrux18-Jun-07 18:40
RepliCrux18-Jun-07 18:40 
GeneralRe: Preventing multiple instances of the window Pin
I.explore.code18-Jun-07 18:56
I.explore.code18-Jun-07 18:56 

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.