private void dgInstallData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int installedItemID;
            string installedItemName;

            using (this.auditConn = this.auditDB.GetSQLConnection())
            {
                DataRow row = ((DataRowView)dgInstallData.Rows[e.RowIndex].DataBoundItem).Row;   //Get datarow from the datagridcell
                installedItemID = Convert.ToInt32(row["software_id"]);
                installedItemName = row["installed_name"].ToString();
            }

            frmRdViewComputersWithInstalledItem computerView = new frmRdViewComputersWithInstalledItem();
            computerView.AuditDB = this.auditDB;
            computerView.Text = "Computers with " + installedItemName + " installed";
            computerView.LoadComputers(installedItemID);
            computerView.Show();
        }
        private void dgInstallData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int    installedItemID;
            string installedItemName;

            using (this.auditConn = this.auditDB.GetSQLConnection())
            {
                DataRow row = ((DataRowView)dgInstallData.Rows[e.RowIndex].DataBoundItem).Row;   //Get datarow from the datagridcell
                installedItemID   = Convert.ToInt32(row["software_id"]);
                installedItemName = row["installed_name"].ToString();
            }

            frmRdViewComputersWithInstalledItem computerView = new frmRdViewComputersWithInstalledItem();

            computerView.AuditDB = this.auditDB;
            computerView.Text    = "Computers with " + installedItemName + " installed";
            computerView.LoadComputers(installedItemID);
            computerView.Show();
        }