예제 #1
0
        private void pbx_HoaDon_Click(object sender, EventArgs e)
        {
            ThanhToanHD hd = new ThanhToanHD();

            this.Hide();
            hd.ShowDialog();
            this.Show();
        }
예제 #2
0
        private void hoadonToolStripMenuItem_Click(object sender, EventArgs e)
        {
            pbx_HoaDon_Click(this, new EventArgs());
            ThanhToanHD hd = new ThanhToanHD();

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