private void PastOperationbtn_Click(object sender, EventArgs e) { var cust = customerService.GetCustomerInfo(new Contracts.Request.Customer.GetCustomerID(Email, Password)); PastOperations pastOperations = new PastOperations(this, cust); this.Hide(); pastOperations.Show(); }
private void PastOperationbtn_Click(object sender, EventArgs e) { var seller = sellerService.GetSellerInfo(new Contracts.Request.Seller.GetSellerID(email, password)); PastOperations pastOperations = new PastOperations(this, seller); this.Hide(); pastOperations.Show(); }