Beispiel #1
0
        private void ThemLoaiMonAn()
        {
            Form_ThemLoaiMonAn openForm = new Form_ThemLoaiMonAn();

            openForm.Mode = mode;
            if (openForm.ShowDialog() == DialogResult.OK)
            {
                LoaiMonAn_BUS.ThemLoaiMonAn(openForm.loaiMonAn);
                gridLoaiMonAn.DataSource = LoaiMonAn_BUS.DocLoaiMonAn();
            }
        }
        private void ThemLoaiMonAn()
        {
            Form_ThemLoaiMonAn openForm = new Form_ThemLoaiMonAn();
            openForm.Mode = mode;
            if (openForm.ShowDialog() == DialogResult.OK)
            {

                    LoaiMonAn_BUS.ThemLoaiMonAn(openForm.loaiMonAn);
                    gridLoaiMonAn.DataSource = LoaiMonAn_BUS.DocLoaiMonAn();

            }
        }