示例#1
0
 /// <summary>
 /// Creates a new PanelLocation describing the location of a user
 /// interface panel. 
 /// 
 /// Use <see cref="PanelLocation.Dialog"/> for an external dialog.
 /// </summary>
 /// <param name="side">The side at which the panel is positioned.</param>
 /// <param name="externalWindow">Whether the panel is shown in an external window.</param>
 public PanelLocation(PanelSide side, bool externalWindow = false)
     : this()
 {
     this.Side           = side;
     this.ExternalWindow = externalWindow;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TogglePanelMessage"/> class.
 /// </summary>
 public TogglePanelMessage(PanelSide side, PanelState state)
 {
     Side  = side;
     State = state;
 }