Пример #1
0
        private void pbx_PhieuNhap_Click(object sender, EventArgs e)
        {
            PhieuNhapKho pn = new PhieuNhapKho();

            this.Hide();
            pn.ShowDialog();
            this.Show();
        }
Пример #2
0
        private void PhieuNhap_ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            pbx_PhieuNhap_Click(this, new EventArgs());
            PhieuNhapKho pn = new PhieuNhapKho();

            this.Hide();
            pn.ShowDialog();
            this.Show();
        }