コード例 #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();
        }
コード例 #2
0
        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;
            }
        }