diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-14 16:16:08 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-14 16:16:08 +0200 |
| commit | 0bd3760bec105a00efa0fe624da2eb82d85d06c9 (patch) | |
| tree | 5ff2c6994a32da9a94571dd653de825f218f51d3 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs | |
| parent | bcdbd113e628e9d69982b16e543bd139f7e22f3f (diff) | |
| download | Tango-0bd3760bec105a00efa0fe624da2eb82d85d06c9.tar.gz Tango-0bd3760bec105a00efa0fe624da2eb82d85d06c9.zip | |
Added code comments for:
MachineStudio.DB
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs index fc9051edb..cdd32eaa5 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Managers/RegisteredView.cs @@ -10,12 +10,25 @@ using Tango.MachineStudio.Common.Controls; namespace Tango.MachineStudio.DB.Managers { + /// <summary> + /// Represents a registered MDI child (data table) view + /// </summary> + /// <seealso cref="Tango.MachineStudio.Common.Controls.MdiChild" /> public class RegisteredView : MdiChild { private static Random rnd = new Random(); + /// <summary> + /// Adds the view to the display. + /// </summary> public RelayCommand AddCommand { get; set; } + /// <summary> + /// Initializes a new instance of the <see cref="RegisteredView"/> class. + /// </summary> + /// <param name="header">The header.</param> + /// <param name="view">The view.</param> + /// <param name="action">The action.</param> public RegisteredView(String header, FrameworkElement view, Action action) { Location = new Point(rnd.Next(30, 200), rnd.Next(30, 200)); @@ -44,12 +57,23 @@ namespace Tango.MachineStudio.DB.Managers } } + /// <summary> + /// Initializes a new instance of the <see cref="RegisteredView"/> class. + /// </summary> + /// <param name="header">The header.</param> + /// <param name="view">The view.</param> public RegisteredView(String header, FrameworkElement view) : this(header, view, null) { Header = header; View = view; } + /// <summary> + /// Returns a <see cref="System.String" /> that represents this instance. + /// </summary> + /// <returns> + /// A <see cref="System.String" /> that represents this instance. + /// </returns> public override string ToString() { return Header; |
