Esempio n. 1
0
 public frmCS_List_ChinhSachKM_View(BangGiaChinhSachInfor chinhSach, List <BangGiaChinhSachInfor> liChinhSach, bool isView, frmCS_TimKiem_ChinhSachGia frmCS)
 {
     InitializeComponent();
     Common.LoadStyle(this);
     this.chinhSach   = chinhSach;
     this.liChinhSach = liChinhSach;
     this.isView      = isView;
     this.frmCS       = frmCS;
 }
Esempio n. 2
0
        private void search()
        {
            frmCS_TimKiem_ChinhSachGia frm = new frmCS_TimKiem_ChinhSachGia(1);

            if (frm.ShowDialog() == DialogResult.OK && frm.ChinhSach != null)
            {
                chinhSach = frm.ChinhSach;
                //hien thi thong tin bang gia hien tai
                LoadChinhSachInfor();
                //Thiet lap trang thai item
                Updating = false;
                setEDItems();
                setEDFunctions();
            }
        }