public UpdateItemInCart(int id)
 {
     InitializeComponent();
     business              = new CartManagement();
     Ibusiness             = new Items.ItemManagement();
     CartId                = id;
     this.Load            += UpdateItemInCart_Load;
     this.btnCancel.Click += btnCancel_Click;
     this.btnSave.Click   += btnSave_Click;
 }
 public IndexCartFrom()
 {
     InitializeComponent();
     business = new CartManagement();
     this.btnViewItem.Click     += btnViewItem_Click;
     this.btnClose.Click        += btnClose_Click;
     this.btnViewProducer.Click += btnViewProducer_Click;
     this.btnDeleteItem.Click   += btnDeleteItem_Click;
     this.btnEditItem.Click     += btnEditItem_Click;
     this.Load += IndexCartFrom_Load;
 }