Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        private void simpleButton4_Click_1(object sender, EventArgs e)
        {
            frm_addacounts frm = new frm_addacounts();

            frm.ShowDialog();
        }
Exemplo n.º 3
0
        private void navBarItem10_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frm_addacounts frm = new frm_addacounts();

            openform(frm);
        }
Exemplo n.º 4
0
        private void simpleButton1_Click_1(object sender, EventArgs e)
        {
            frm_addacounts frm = new frm_addacounts();

            frm_othermain.getmain.openform(frm);
        }