private void buttonX1_Click(object sender, EventArgs e) { try { List <AsncyGetInformation> AsncyGetInformation = DownloadDataFromWebCliend.GetInfrmationofdateGet(DownloadDataFromWebCliend.EnumGetXML.GetString); ClassDataGridViewDo.DataGridEnterAsncyGetInformation(dataGridViewX1, AsncyGetInformation); } catch (Exception ec) { MegBox.Show(ec.Message, this); } }
private void dataGridViewX1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex != -1) { InformationOfdateGet InformationOfdateGet = new InformationOfdateGet(Convert.ToInt32(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value), dataGridViewX1.Rows[e.RowIndex].Cells[1].Value.ToString()); InformationOfdateGet.ShowDialog(); try { List <AsncyGetInformation> AsncyGetInformation = DownloadDataFromWebCliend.GetInfrmationofdateGet(DownloadDataFromWebCliend.EnumGetXML.GetString); ClassDataGridViewDo.DataGridEnterAsncyGetInformation(dataGridViewX1, AsncyGetInformation); } catch (Exception ec) { MegBox.Show(ec.Message, this); } } }