Ejemplo n.º 1
0
 private void HanchyGrid_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         lblToID.Text       = HanchyGrid.Rows[e.RowIndex].Cells["HanchyGrid_AcID"].Value.ToString();
         txtToAccount.Text  = HanchyGrid.Rows[e.RowIndex].Cells["HanchyGrid_Name"].Value.ToString();
         lblAcCurrency.Text = MyAccount.GetCurrrencyType(lblToID.Text);
         string HmCur = "";
         // lblExrate.Text
         string Exrate = MyAccount.GetExRate(lblToID.Text, out HmCur).ToString();
         lblAcCurrency.Text = HmCur;
         HanchyGrid.Visible = false;
     }
 }