コード例 #1
0
        private void btnNguyenLieu_Click(object sender, EventArgs e)
        {
            frmNhapXuatNguyenLieu nxnl = new frmNhapXuatNguyenLieu();

            nxnl.Show();
            this.Hide();
        }
コード例 #2
0
        private void btnHuy_Click(object sender, EventArgs e)
        {
            int          maPX = int.Parse(txtMaPX.Text);
            NXNguyenLieu nl   = getXuatNL();

            if (ctxBO.kiemTraXuatNL(maPX) == false)
            {
                nxBO.XoaXuatNL(nl);
            }
            this.Hide();
            frmNhapXuatNguyenLieu FromNhapXuatNL;

            FromNhapXuatNL = new frmNhapXuatNguyenLieu();
            FromNhapXuatNL.Show();
        }