//private void gridView1_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
        //{
        //    //F_OF_Details F_OFD = new F_OF_Details();
        //    //F_OFD.CDOF = gridView1.GetFocusedRowCellDisplayText(CD_OF).ToString();
        //    //F_OFD.Show();
        //}
        private void ItemClickEventHandler_Report(object sender, EventArgs e)
        {
            R_OF ROF = new R_OF();

            ROF.OF           = gridView2.GetFocusedRowCellValue("CD_OF").ToString();
            ROF.TotalBatchNb = gridView2.GetFocusedRowCellValue("TotalBatchNb").ToString();
            ROF.Show();
        }
Exemple #2
0
 private void ItemClickEventHandler_Report(object sender, EventArgs e)
 {
     if (!gridView2.GetFocusedRowCellValue("CD_OF").ToString().Equals(""))
     {
         R_OF ROF = new R_OF();
         //Dòng đầu tiên
         ROF.OF           = gridView2.GetFocusedRowCellValue("CD_OF").ToString();
         ROF.TotalBatchNb = "1";
         ROF.Show();
         //Tạm kháo mở lại sau ngày 29/05/2019
         //R_OF_Summary ROFS = new R_OF_Summary();
         ////Dòng đầu tiên
         //ROFS.OF = gridView2.GetFocusedRowCellValue("CD_OF").ToString();
         //ROFS.TotalBatchNb = "1";
         //ROFS.Show();
     }
     else
     {
         XtraMessageBox.Show(" Vui lòng chọn số WO ");
     }
 }