Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupForm"/> class.
 /// </summary>
 /// <param name="guiManager">The GUI manager this <see cref="Control"/> will be managed by.</param>
 /// <param name="position">Position of the Control reletive to its parent.</param>
 /// <param name="clientSize">The size of the <see cref="Control"/>'s client area.</param>
 /// <exception cref="ArgumentNullException"><paramref name="guiManager"/> is null.</exception>
 public GroupForm(IGUIManager guiManager, Vector2 position, Vector2 clientSize) : base(guiManager, position, clientSize)
 {
     _memberList = new GroupMemberListControl(this, position, clientSize);
     IsVisible = false;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupForm"/> class.
 /// </summary>
 /// <param name="parent">Parent <see cref="Control"/> of this <see cref="Control"/>.</param>
 /// <param name="position">Position of the Control reletive to its parent.</param>
 /// <param name="clientSize">The size of the <see cref="Control"/>'s client area.</param>
 /// <exception cref="NullReferenceException"><paramref name="parent"/> is null.</exception>
 public GroupForm(Control parent, Vector2 position, Vector2 clientSize) : base(parent, position, clientSize)
 {
     _memberList = new GroupMemberListControl(this, position, clientSize);
     IsVisible = false;
 }