private void button2_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count < 1)
            {
                return;
            }
            viewTrantionDTO temp  = lstTransaction.Find(t => t.TransactionId == int.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString()));
            frmPrintPay     print = new frmPrintPay(temp);

            print.ShowDialog();
        }
 public frmPrintPay(viewTrantionDTO data)
 {
     InitializeComponent();
     _data = data;
 }