private void bbackbtn_Click(object sender, EventArgs e) { aregistrations reg = new aregistrations(); reg.Show(); reg.StartPosition = FormStartPosition.Manual; reg.Location = new Point(345, 38); }
private void registrationslbl_Click(object sender, EventArgs e) { if (registrations == null) { registrations = new aregistrations(); registrations.MdiParent = this; registrations.FormClosed += Registrations_FormClosed; registrations.Show(); } else { registrations.Activate(); } }
private void Registrations_FormClosed(object sender, FormClosedEventArgs e) { registrations = null; //throw new NotImplementedException(); }