private void tsiAddUrlToCrawl_Click(object sender, System.EventArgs e) { if (!globals.IsFormLoaded("frmInsertUrl")) { frmInsertUrl frm = new frmInsertUrl(); frm.MdiParent = this; frm.Show(); } else { frmInsertUrl frm = (frmInsertUrl)globals.LoadedForms["frmInsertUrl"]; frm.Focus(); } }
private void tsiAddUrlToCrawl_Click(object sender, System.EventArgs e) { if(!globals.IsFormLoaded("frmInsertUrl")) { frmInsertUrl frm = new frmInsertUrl(); frm.MdiParent = this; frm.Show(); } else { frmInsertUrl frm = (frmInsertUrl)globals.LoadedForms["frmInsertUrl"]; frm.Focus(); } }