private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (TheLegalDialog == null || TheLegalDialog.IsDisposed) { TheLegalDialog = new LegalNoticesDialog(); TheLegalDialog.Show(this); } else { TheLegalDialog.BringToFront(); TheLegalDialog.Focus(); } }
private void OkButton_Click(object sender, EventArgs e) { Close(); TheLegalDialog = null; }