示例#1
0
 private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmOpticalSW_Update frm = new frmOpticalSW_Update(true, "Thêm Address", null, -1);
     frm.Owner = this;
     frm.ShowDialog();
     NW_OpticalSW_Getlist();
 }
示例#2
0
        private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmOpticalSW_Update frm = new frmOpticalSW_Update(true, "Thêm Address", null, -1);

            frm.Owner = this;
            frm.ShowDialog();
            NW_OpticalSW_Getlist();
        }
示例#3
0
        private void btnUpdate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            int SelectedRow = gridItemDetail.FocusedRowHandle;

            if (SelectedRow >= 0)
            {
                int _value = int.Parse(gridItemDetail.GetFocusedRowCellValue(colID).ToString());

                frmOpticalSW_Update frm = new frmOpticalSW_Update(false, "Cập nhật Address", "CV", _value);
                frm.Owner = this;
                frm.ShowDialog();
                NW_OpticalSW_Getlist();
            }
        }
示例#4
0
        private void btnUpdate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            int SelectedRow = gridItemDetail.FocusedRowHandle;
            if (SelectedRow >= 0)
            {
                int _value = int.Parse(gridItemDetail.GetFocusedRowCellValue(colID).ToString());

                frmOpticalSW_Update frm = new frmOpticalSW_Update(false, "Cập nhật Address", "CV", _value);
                frm.Owner = this;
                frm.ShowDialog();
                NW_OpticalSW_Getlist();
            }
        }