c# - How to represent visual studio embedded classes in a class diargam -


i'm creating class diagram project, c# solution.

i think textbox, button, etc.. represented in attribute section of class.

i've used classes directory, streamreader, etc...

should represent them normal classes? if so, relationship between them , class uses them (ex : mainwindow)?

in such cases use stereotypes <<directory>>, <<button>> etc. make use of class more clear. relation between classes should normal associations. use composition windows composed of buttons, fields, etc.

the following shows 2 different button types inherit general button class , text field composed in window: enter image description here


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -