Ejemplo n.º 1
0
        private void navBarItem11_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (cl.checkpermissions(connectiondata.user_id, "كشف حساب", "show_", 1) == false)
            {
                return;
            }

            frm_Account_recepit frm = new frm_Account_recepit();

            openform(frm);
        }
Ejemplo n.º 2
0
        private void simpleButton6_Click(object sender, EventArgs e)
        {
            if (gridView1.RowCount == 0)
            {
                return;
            }

            frm_Account_recepit frm = new frm_Account_recepit();

            frm.cmb_vendors.EditValue = int.Parse(gridView1.GetFocusedRowCellValue("acount_code").ToString());
            frm_othermain.getmain.openform(frm);
        }