private void brownToolStripMenuItem_Click(object sender, EventArgs e) { if (frmBrown != null) { frmBrown.Close(); } frmBrown = new SurveyEntryBrown(CurrentQuestion.VarName.RefVarName, frmParent.currentUser.SurveyEntryBrown[index - 1]); frmBrown.frmParent = this; frmBrown.Left = this.Left + 600; frmBrown.Top = this.Top + 100; frmBrown.TopLevel = true; frmBrown.TopMost = true; frmBrown.BringToFront(); frmBrown.Show(); }
private void cmdOpenRelatedQs_Click(object sender, EventArgs e) { SurveyEntryBrown frm = new SurveyEntryBrown(CurrentQuestion.VarName.RefVarName, "*"); frm.Visible = true; }