public frmShipping(string UserName, string PassWord, string DefaultAddress, string PhoneNumber, string FullName) { this.UserName = UserName; this.DefaultAddress = DefaultAddress; this.PassWord = PassWord; InitializeComponent(); this.lblAddress.Text = DefaultAddress; this.lblFullName.Text = FullName; this.lblPhoneNumber.Text = PhoneNumber; this.lblShowPrice.Text = OrderItemsController.ShowTotalPrice(UserName, PassWord).Tables[0].Rows[0][0].ToString(); DataTable dtAllBillDetails = OrderItemsController.ShowCart(UserName).Tables[0]; int ylbl = 10; foreach (DataRow dr in dtAllBillDetails.Rows) { Guna.UI.WinForms.GunaLabel lbl = new Guna.UI.WinForms.GunaLabel(); lbl.Location = new Point(8, ylbl); lbl.Font = new Font("Tahoma", 9, FontStyle.Bold); lbl.Text = dr["ItemName"].ToString() + " x " + dr["Quantity"].ToString() + " : \t" + dr["PaidPrice"].ToString(); lbl.AutoSize = true; pnAllBillDetails.Controls.Add(lbl); ylbl += 24; } }