private void simpleButton2_Click(object sender, EventArgs e) { if (gridView1.SelectedRowsCount == 0) { return; } int index = gridView1.FocusedRowHandle; string account_code = gridView1.GetRowCellValue(index, "acount_code").ToString(); frm_addacounts frm = new frm_addacounts(); frm.addnew = false; frm.account_code = account_code; frm.returndata(account_code); frm_othermain.getmain.openform(frm); }
private void simpleButton4_Click_1(object sender, EventArgs e) { frm_addacounts frm = new frm_addacounts(); frm.ShowDialog(); }
private void navBarItem10_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frm_addacounts frm = new frm_addacounts(); openform(frm); }
private void simpleButton1_Click_1(object sender, EventArgs e) { frm_addacounts frm = new frm_addacounts(); frm_othermain.getmain.openform(frm); }