private void btnBack_Click(object sender, EventArgs e) { ReviewBill rv = new ReviewBill(); this.Hide(); rv.id = id.ToString(); rv.ShowDialog(); }
private void btnSeeRevenue_Click(object sender, EventArgs e) { ReviewBill rv = new ReviewBill(); this.Hide(); rv.id = id; rv.time = time; rv.date = DateTime.Now.ToString("yyyy/MM/dd"); rv.name = name; rv.ShowDialog(); }