Click here to Skip to main content
11,632,172 members (72,046 online)
   

C#

 
GeneralRe: propertygrid double click events Pin
jone.cunha13-Feb-13 1:24
memberjone.cunha13-Feb-13 1:24 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 1:44
mvpRichard MacCutchan13-Feb-13 1:44 
GeneralRe: propertygrid double click events Pin
jone.cunha13-Feb-13 1:53
memberjone.cunha13-Feb-13 1:53 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 3:16
mvpRichard MacCutchan13-Feb-13 3:16 
GeneralRe: propertygrid double click events Pin
jone.cunha13-Feb-13 4:45
memberjone.cunha13-Feb-13 4:45 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 5:38
mvpRichard MacCutchan13-Feb-13 5:38 
GeneralRe: propertygrid double click events Pin
jone.cunha13-Feb-13 7:32
memberjone.cunha13-Feb-13 7:32 
QuestionEnevts in MVC application. Need some Help. Pin
plywoods12-Feb-13 21:09
memberplywoods12-Feb-13 21:09 
Hello

I need some help. I am newcomer in C#.

The application is the PhoneBook. All the data serializable and stored in the List<>. Ithe main idea is to realize MVC pattern.
The question is how to implement events for deleting and editing contacts? Event for adding a contact is already exist and works.

To delete contact - inside the buttonDeleteContact_Click handler I need to get a selected object, than wrap it in DeletePersonEventArgs
and call the event (identical to AddClicked) DeleteClicked that will contail a code that delete a contact.

1. How to describe a type of Delete event ?
internal class DeletePersonEventArgs : EventArgs

2. What should be in
buttonDeleteContact_Click handler
?

3. What should be inside controller's method that handles the DeleteClicked event?

void form_DeleteClicked(object sender, DeletePersonEventArgs e)

The same issues for Update code.

Could you please provide a code example for this events and help me to realize this logic.

https://skydrive.live.com/redir?resid=45CC0C0F1CD563C9!281&authkey=!AIbigiVNGjyCQ9w here is the link for the source code - VS 2012
QuestionHow to determine whether the given geo code in within geo fence or not? Pin
Vijay Kanda12-Feb-13 20:57
memberVijay Kanda12-Feb-13 20:57 
AnswerRe: How to determine whether the given geo code in within geo fence or not? Pin
Pete O'Hanlon12-Feb-13 23:13
protectorPete O'Hanlon12-Feb-13 23:13 
Questioncalling a method in c++ from c# Pin
bonosa12-Feb-13 17:45
memberbonosa12-Feb-13 17:45 
AnswerRe: calling a method in c++ from c# Pin
N a v a n e e t h12-Feb-13 22:19
memberN a v a n e e t h12-Feb-13 22:19 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 3:55
memberbonosa13-Feb-13 3:55 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h13-Feb-13 18:21
memberN a v a n e e t h13-Feb-13 18:21 
GeneralRe: calling a method in c++ from c# Pin
bonosa14-Feb-13 16:56
memberbonosa14-Feb-13 16:56 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h14-Feb-13 21:41
memberN a v a n e e t h14-Feb-13 21:41 
GeneralRe: calling a method in c++ from c# Pin
bonosa15-Feb-13 17:27
memberbonosa15-Feb-13 17:27 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h16-Feb-13 17:41
memberN a v a n e e t h16-Feb-13 17:41 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h17-Feb-13 5:02
memberN a v a n e e t h17-Feb-13 5:02 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 6:48
memberbonosa13-Feb-13 6:48 
QuestionDynamic Form Creation/Layout Pin
Matt U.12-Feb-13 4:21
memberMatt U.12-Feb-13 4:21 
AnswerRe: Dynamic Form Creation/Layout Pin
Orjan Westin12-Feb-13 6:16
memberOrjan Westin12-Feb-13 6:16 
GeneralRe: Dynamic Form Creation/Layout Pin
Matt U.12-Feb-13 6:51
memberMatt U.12-Feb-13 6:51 
AnswerRe: Dynamic Form Creation/Layout Pin
PIEBALDconsult12-Feb-13 12:36
memberPIEBALDconsult12-Feb-13 12:36 
QuestionException: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
NarVish12-Feb-13 1:18
memberNarVish12-Feb-13 1:18 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 28 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid