private void dtGridCash_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int           nam;
            Int64         sodu;
            Dongtienthang frmDongTienThang = new Dongtienthang();

            nam = int.Parse(dtGridCash.Rows[e.RowIndex].Cells["Nam"].Value.ToString());
            if (e.RowIndex == 0)
            {
                sodu = 0;
            }
            else
            {
                sodu = Int64.Parse(dtGridCash.Rows[e.RowIndex - 1].Cells["Ducuoi"].Value.ToString());
            }
            frmDongTienThang.init(dbfile, realdata, nam, sodu, workingdir);
        }
 private void dtGridCash_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int nam;
     Int64 sodu;
     Dongtienthang frmDongTienThang = new Dongtienthang();
     nam = int.Parse(dtGridCash.Rows[e.RowIndex].Cells["Nam"].Value.ToString());
     if (e.RowIndex == 0)
         sodu = 0;
     else sodu = Int64.Parse(dtGridCash.Rows[e.RowIndex - 1].Cells["Ducuoi"].Value.ToString());
     frmDongTienThang.init(dbfile, realdata, nam, sodu, workingdir);
 }