Click here to Skip to main content
15,868,141 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Eddy Vluggen27-Oct-12 4:24
professionalEddy Vluggen27-Oct-12 4:24 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Clifford Nelson29-Oct-12 13:54
Clifford Nelson29-Oct-12 13:54 
QuestionApp Without Installation Pin
C-P-User-326-Oct-12 10:33
C-P-User-326-Oct-12 10:33 
AnswerRe: App Without Installation Pin
Ravi Bhavnani26-Oct-12 10:41
professionalRavi Bhavnani26-Oct-12 10:41 
AnswerRe: App Without Installation Pin
Clifford Nelson26-Oct-12 12:11
Clifford Nelson26-Oct-12 12:11 
AnswerRe: App Without Installation Pin
Eddy Vluggen27-Oct-12 4:28
professionalEddy Vluggen27-Oct-12 4:28 
QuestionBest way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi26-Oct-12 9:40
professionalPraveen Raghuvanshi26-Oct-12 9:40 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
cocis4826-Oct-12 11:13
cocis4826-Oct-12 11:13 
I don't know why you cloned the object, if the collection keeps the current record, you can save the index of it and if cancel is clicked, remove from the collection and only save when the save button is click, here is a small sample, just play with this and see if it can help you.

1-You need to implement commanding in your project (you are already doing it)
2-in your view
link you button to a command in your viewmodel
Example a Save button:


4-remember your imports, this way you can display on the view the message for the user to answer and don't need to clone.
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi27-Oct-12 7:39
professionalPraveen Raghuvanshi27-Oct-12 7:39 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Eddy Vluggen27-Oct-12 4:34
professionalEddy Vluggen27-Oct-12 4:34 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi27-Oct-12 7:45
professionalPraveen Raghuvanshi27-Oct-12 7:45 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
cocis4827-Oct-12 16:01
cocis4827-Oct-12 16:01 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
BobJanova29-Oct-12 0:38
BobJanova29-Oct-12 0:38 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi31-Oct-12 7:59
professionalPraveen Raghuvanshi31-Oct-12 7:59 
QuestionInvoking a method using its 'string' name Pin
PozzaVecia26-Oct-12 8:28
PozzaVecia26-Oct-12 8:28 
AnswerRe: Invoking a method using its 'string' name Pin
jschell26-Oct-12 8:46
jschell26-Oct-12 8:46 
GeneralRe: Invoking a method using its 'string' name Pin
BobJanova29-Oct-12 0:40
BobJanova29-Oct-12 0:40 
GeneralRe: Invoking a method using its 'string' name Pin
jschell29-Oct-12 8:27
jschell29-Oct-12 8:27 
GeneralRe: Invoking a method using its 'string' name Pin
BobJanova29-Oct-12 23:37
BobJanova29-Oct-12 23:37 
GeneralRe: Invoking a method using its 'string' name Pin
jschell30-Oct-12 9:54
jschell30-Oct-12 9:54 
AnswerRe: Invoking a method using its 'string' name Pin
Clifford Nelson26-Oct-12 8:48
Clifford Nelson26-Oct-12 8:48 
GeneralRe: Invoking a method using its 'string' name Pin
PozzaVecia26-Oct-12 9:01
PozzaVecia26-Oct-12 9:01 
AnswerRe: Invoking a method using its 'string' name Pin
Clifford Nelson26-Oct-12 9:03
Clifford Nelson26-Oct-12 9:03 
AnswerRe: Invoking a method using its 'string' name Pin
BobJanova29-Oct-12 0:42
BobJanova29-Oct-12 0:42 
QuestionUnexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 7:17
professionalTridip Bhattacharjee26-Oct-12 7:17 

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.