After the system requirements are determined, we will enter the OOD system design phase based on UML, in which the following three articles will present the support and application of VS2010 in the design phase:
Using Visual Studio 2010 from Analysis to implementation (4)--Designing message sequences using sequence diagram
Using Visual Studio 2010 from Analysis to implementation (5)--Design system structure using component diagram
Using Visual Studio 2010 from analysis to implementation (6)--Implementing system components using logical Class diagram
Sequence Diagram Use steps
1. New Solutions
2. New Project (Project), type "Modelingprojects"
3. Right-click the newly created Modelingproject in Solution Manager to add the new item
4. Select "Sequencediagram" and then OK, the file name extension is ". Sequence"
5. Drag and drop elements from the left side of the toolbar into the use case diagram.
Visual Studio 2010 provides sequence diagram support:
In the visual Studio CTP, the Sequence diagram elements are as follows:
A 1.Lifeline lifeline that represents a modeled role or object instance in a sequence that determines whether it is a role or an object instance by setting its actor property to True.