private void đÁNHGIÁToolStripMenuItem_Click(object sender, EventArgs e) { DanhGiaSP a1 = new DanhGiaSP(); this.Hide(); a1.Show(); }
private void button2_Click(object sender, EventArgs e) { Form a2 = new DanhGiaSP(); this.Hide(); a2.ShowDialog(); this.Show(); Application.Exit(); }
public comment(DanhGiaSP f2) { InitializeComponent(); try { TenSP.Text = f2.getTenSanPham(); MaSP.Text = f2.getMaSanPham(); } catch (Exception) { MessageBox.Show("Lỗi rồi!!!"); } }