Exemple #1
0
        // Quan ly Nha san xuat
        public void ShowQLNhaSanXuat()
        {
            fmChonNSX fm = new fmChonNSX(false);

            fm.StartPosition  = FormStartPosition.CenterParent;
            fm.ctrlData       = ctrlData;
            fm.ctrlNhaSanXuat = new ControlNhaSanXuat(ctrlData);
            fm.ShowDialog();
        }
        private void butNSX_Click(object sender, EventArgs e)
        {
            fmChonNSX fm = new fmChonNSX(true);

            fm.StartPosition = FormStartPosition.CenterParent;
            fm.ctrlData      = ctrlData;
            if (fm.ShowDialog(this) == DialogResult.OK)
            {
                nhasx       = fm.result_nhasx;
                txtNSX.Text = nhasx.Ten;
            }
        }