using System;
using System.Windows.Forms;
using DevExpress.ExpressApp.Editors;
using Xpand.ExpressApp.AdditionalViewControlsProvider.Editors;

namespace Xpand.ExpressApp.AdditionalViewControlsProvider.Win.Editors {
    [ViewItem(typeof(IModelAdditionalViewControlsItem))]
    public class AdditionalViewControlsItem : AdditionalViewControlsProvider.Editors.AdditionalViewControlsItem {

        public AdditionalViewControlsItem(Type objectType, string id)
            : base(objectType, id) {
        }

        public AdditionalViewControlsItem(IModelAdditionalViewControlsItem model, Type objectType)
            : base(model, objectType) {
        }

        protected override object CreateControlCore() {
            var panel = new Panel();
            return panel;
        }
    }
}
