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:
Comments
Post a Comment