public OpenIndexSecurityPanelCommand(ExpressionIndexSecurity security)
		{
			if (security == null)
				throw new ArgumentNullException("security");

			Security = security;
		}
        /// <summary>
        /// Создать копию объекта <see cref="Security"/>.
        /// </summary>
        /// <returns>Копия объекта.</returns>
        public override Security Clone()
        {
            var clone = new ExpressionIndexSecurity {
                Expression = Expression
            };

            CopyTo(clone);
            return(clone);
        }
		/// <summary>
		/// Initializes a new instance of the <see cref="IndexSecurityWindow"/>.
		/// </summary>
		public IndexSecurityWindow()
		{
			InitializeComponent();
			IndexSecurity = new ExpressionIndexSecurity();
		}
		/// <summary>
		/// Create a copy of <see cref="Security"/>.
		/// </summary>
		/// <returns>Copy.</returns>
		public override Security Clone()
		{
			var clone = new ExpressionIndexSecurity { Expression = Expression };
			CopyTo(clone);
			return clone;
		}