Beispiel #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmBaoGia frm = new frmBaoGia();

            //frmBaoGiaNew frm = new frmBaoGiaNew();
            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }
Beispiel #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int         id    = TextUtils.ToInt(grvData.GetFocusedRowCellValue(colID));
            BaoGiaModel model = (BaoGiaModel)BaoGiaBO.Instance.FindByPK(id);
            frmBaoGia   frm   = new frmBaoGia();

            frm.BaoGia          = model;
            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }
Beispiel #3
0
        private void btnBaoGia_Click(object sender, EventArgs e)
        {
            frmBaoGia frm = new frmBaoGia();

            TextUtils.OpenForm(frm);
        }