         super.init(frame: frame)
         
         setupUserInterface()
-        configure()
     }
     
     required init?(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
-    }
-    
-    
-    // MARK: - Override
-    override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {
-        // 当选课条件改变时，更新总价
-        self.price = MalaCourseChoosingObject.getAmount() ?? 0
     }
     
     

            })
        }
    }
    private var myContext = 0
    weak var delegate: OrderFormOperatingViewDelegate?
    
    

    @objc func cancelOrderForm() {
        delegate?.OrderFormCancel()
    }
}