コード例 #1
0
ファイル: PanelLocation.cs プロジェクト: jsren/DebugOS
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TogglePanelMessage"/> class.
 /// </summary>
 public TogglePanelMessage(PanelSide side, PanelState state)
 {
     Side  = side;
     State = state;
 }