private void btnAirmassResult_ItemClick(object sender, ItemClickEventArgs e) { System.Windows.Forms.Application.DoEvents(); if (CheckAllTablesAvailable()) { // build a table that shows the maximum allowed airmass depending on the current limiters // table show be the same size as the pedalrequest map frmAirmassResult airmassresult = new frmAirmassResult(); airmassresult.onStartTableViewer += new frmAirmassResult.StartTableViewer(airmassresult_onStartTableViewer); airmassresult.Currentfile = m_currentfile; airmassresult.Symbols = m_symbols; airmassresult.Calculate(); airmassresult.Show(); // not dialog? } }