private void fDialog(int nCol, int nRow) { bool bError = false; mnCol = nCol; mnRow = nRow; if (nCol == mnCol2) { } else { goto lineend; } fDatabase(ref bError); if (!bError) { fSub1 _dlg = new fSub1(); _dlg.ShowDialog(); } lineend :; }
private void btnOpen1_Click(object sender, EventArgs e) { fSub1 _dlg = new fSub1(); _dlg.ShowDialog(); }