private void mtCart_Click(object sender, EventArgs e) { frmCart frmc = new frmCart(int.Parse(txtOrderNo.Text)); frmc.Show(); Dispose(); }
public EditOrder(int itemid, decimal currentqty, int orderno, frmCart form1) { _owner = form1; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.EditOrder_FormClosing); InitializeComponent(); ItemId = itemid; currentQty = currentqty; OrderNo = orderno; }