public ObjectBaseEventArgs(ObjectBase context, ObjectActions action)
     : base(context, action)
 {
 }
		public ObjectBaseCancelEventArgs(ObjectBase context, ObjectActions action, bool cancel)
			: base(context, action, cancel)
		{

		}
 public ObjectBaseCancelEventArgs(ObjectBase context, ObjectActions action, bool cancel)
     : base(context, action, cancel)
 {
 }
		public ObjectBaseEventArgs(ObjectBase context, ObjectActions action)
			: base(context, action)
		{

		}
Пример #5
0
		/// <summary>
		/// Initializes a new instance of the ObjectBase class.
		/// </summary>
		/// <param name="element">The object to copy.</param>
		public ObjectBase(ObjectBase element) :
			this(element.Name, element.Description)
		{
			if (element.SmallImage != null)
			{
				_smallImage = (Image)element.SmallImage.Clone();
			}

			if (element.LargeImage != null)
			{
				_largeImage = (Image)element.LargeImage.Clone();
			}
		}