Esempio n. 1
0
        private void viewProductInDBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int iRowHandle = this.gridView1.FocusedRowHandle;

            if (iRowHandle >= 0)
            {
                long CompanyID         = Convert.ToInt64(this.gridView1.GetRowCellValue(iRowHandle, "CompanyID"));
                FrmViewProductInDb frm = new FrmViewProductInDb(CompanyID);
                frm.ShowDialog();
            }
        }
Esempio n. 2
0
        private void ViewProductInDb(object sender, EventArgs e)
        {
            var frm = new FrmViewProductInDb(eventGetCompanyHandle());

            frm.ShowDialog();
        }