Ejemplo n.º 1
0
        public CommonForm(OrderEntity orderEntity)
            : this()
        {
            this.orderEntity = orderEntity;
            OrderSource      = CommonFunction.GetOrderSource(orderEntity.Entity.GetType());
            Order order = ControlGenerator.GetOrder(orderEntity.OrderType);

            InitData(order);
            InitControl(order);
        }