Click here to Skip to main content
15,917,793 members
Home / Discussions / C#
   

C#

 
AnswerRe: Creating Graphical UI Components (Lines, curves, etc.) Pin
leppie9-May-06 13:48
leppie9-May-06 13:48 
GeneralRe: Creating Graphical UI Components (Lines, curves, etc.) Pin
StevenS_Dev10-May-06 6:12
StevenS_Dev10-May-06 6:12 
AnswerRe: Creating Graphical UI Components (Lines, curves, etc.) Pin
StevenS_Dev10-May-06 7:06
StevenS_Dev10-May-06 7:06 
QuestionRepainting Pin
clint19829-May-06 11:45
clint19829-May-06 11:45 
AnswerRe: Repainting Pin
Office Lineman9-May-06 11:50
Office Lineman9-May-06 11:50 
GeneralRe: Repainting Pin
clint198210-May-06 3:39
clint198210-May-06 3:39 
QuestionOne ContextMenu for multiple controls?? Pin
student_rhr9-May-06 11:08
student_rhr9-May-06 11:08 
AnswerRe: One ContextMenu for multiple controls?? Pin
Stefan Troschuetz9-May-06 21:43
Stefan Troschuetz9-May-06 21:43 
Honestly, I don't get the point of your question and as there are no other responses I'm probably not the only one.

student_rhr wrote:
however I need to change the view of ListView depending on the respective ListView that was clicked.


What has this to do with your ContextMenu? Writing a click event handler for both listviews should do the trick:
lvCD.Click += new EventHandler(listView_Click);
lvDisk.Click += new EventHandler(listView_Click);
private void listView_Click(object sender, EventArgs e)        
{
((ListView) sender).View = View.Tile;
}



"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de
QuestionConverting and ArrayList into a string Pin
Rizwan Rathore9-May-06 10:40
Rizwan Rathore9-May-06 10:40 
AnswerRe: Converting and ArrayList into a string Pin
Larantz9-May-06 10:54
Larantz9-May-06 10:54 
AnswerRe: Converting and ArrayList into a string Pin
Wjousts9-May-06 10:54
Wjousts9-May-06 10:54 
AnswerRe: Converting and ArrayList into a string Pin
Christian Graus10-May-06 10:12
protectorChristian Graus10-May-06 10:12 
GeneralRe: Converting and ArrayList into a string Pin
Christian Graus10-May-06 10:13
protectorChristian Graus10-May-06 10:13 
GeneralRe: Converting and ArrayList into a string Pin
Rizwan Rathore11-May-06 4:14
Rizwan Rathore11-May-06 4:14 
GeneralRe: Converting and ArrayList into a string Pin
Christian Graus11-May-06 10:15
protectorChristian Graus11-May-06 10:15 
Questionplz make a easy project 4 me Pin
Qasimsha9-May-06 10:17
Qasimsha9-May-06 10:17 
AnswerRe: plz make a easy project 4 me Pin
Christian Graus9-May-06 10:35
protectorChristian Graus9-May-06 10:35 
GeneralRe: plz make a easy project 4 me Pin
Colin Angus Mackay10-May-06 0:47
Colin Angus Mackay10-May-06 0:47 
GeneralRe: plz make a easy project 4 me Pin
Qasimsha15-May-06 10:04
Qasimsha15-May-06 10:04 
GeneralRe: plz make a easy project 4 me Pin
Colin Angus Mackay15-May-06 10:57
Colin Angus Mackay15-May-06 10:57 
JokeRe: plz make a easy project 4 me Pin
Office Lineman9-May-06 11:24
Office Lineman9-May-06 11:24 
QuestionCmdLoadFromResource method Pin
TheEagle9-May-06 10:14
TheEagle9-May-06 10:14 
QuestionDisabling the Close (X) command in Windows Pin
TheJudeDude9-May-06 9:58
TheJudeDude9-May-06 9:58 
AnswerRe: Disabling the Close (X) command in Windows Pin
Christian Graus9-May-06 10:36
protectorChristian Graus9-May-06 10:36 
GeneralRe: Disabling the Close (X) command in Windows Pin
TheJudeDude9-May-06 18:15
TheJudeDude9-May-06 18:15 

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.