public void mbtnReturn_Click(object sender, EventArgs e) { this.Hide(); frm7Return f = new frm7Return(); f.Name = this.Name; f.Location = this.Location; f.ShowDialog(); this.Close(); }
private void btnReturn_Click(object sender, EventArgs e) { //launch form Return //fill all required the customer informations this.Hide(); frm7Return f = new frm7Return(); f.Location = this.Location; f.SetMemberID(m.MemberID.ToString()); f.ShowDialog(); this.Close(); }