Esempio n. 1
0
        private void đÁNHGIÁToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DanhGiaSP a1 = new DanhGiaSP();

            this.Hide();
            a1.Show();
        }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form a2 = new DanhGiaSP();

            this.Hide();
            a2.ShowDialog();
            this.Show();
            Application.Exit();
        }
Esempio n. 3
0
        public comment(DanhGiaSP f2)
        {
            InitializeComponent();

            try
            {
                TenSP.Text = f2.getTenSanPham();
                MaSP.Text  = f2.getMaSanPham();
            }
            catch (Exception)
            {
                MessageBox.Show("Lỗi rồi!!!");
            }
        }