mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
23 lines
569 B
C#
23 lines
569 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
|
|
public class OpenWindowCommand : BaseStudioCommand
|
|
{
|
|
public OpenWindowCommand(string id, Type ctrlType, bool isToolWindow, object context = null)
|
|
{
|
|
if (ctrlType == null)
|
|
throw new ArgumentNullException("ctrlType");
|
|
|
|
Id = id;
|
|
CtrlType = ctrlType;
|
|
IsToolWindow = isToolWindow;
|
|
Context = context;
|
|
}
|
|
|
|
public string Id { get; private set; }
|
|
public Type CtrlType { get; private set; }
|
|
public bool IsToolWindow { get; private set; }
|
|
public object Context { get; private set; }
|
|
}
|
|
} |