コード例 #1
0
ファイル: Home.cs プロジェクト: thphuong99/Project-PTTK
        private void đÁNHGIÁToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DanhGiaSP a1 = new DanhGiaSP();

            this.Hide();
            a1.Show();
        }
コード例 #2
0
ファイル: comment.cs プロジェクト: thphuong99/Project-PTTK
        private void button2_Click(object sender, EventArgs e)
        {
            Form a2 = new DanhGiaSP();

            this.Hide();
            a2.ShowDialog();
            this.Show();
            Application.Exit();
        }
コード例 #3
0
ファイル: comment.cs プロジェクト: thphuong99/Project-PTTK
        public comment(DanhGiaSP f2)
        {
            InitializeComponent();

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