Let us see how we can generate that. To do that I am going to create simple Windows Form Application project.
Now add a person class to the project and using person class create a contact class as shown below.
Now add a Button to the Form and add button Click event handler in that call GetName method of Contact class with Person class Id .
Now to generate the sequence diagram for this method just right click inside button_click event as shown below.
Now VS.NET IDE will generate the following Sequence diagram for the above Button_Click event method.
Nandri(Thanks)
SreenivasaRagavan.
No comments:
Post a Comment