コード例 #1
0
        private void bbackbtn_Click(object sender, EventArgs e)
        {
            aregistrations reg = new aregistrations();

            reg.Show();
            reg.StartPosition = FormStartPosition.Manual;
            reg.Location      = new Point(345, 38);
        }
コード例 #2
0
 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();
     }
 }
コード例 #3
0
 private void Registrations_FormClosed(object sender, FormClosedEventArgs e)
 {
     registrations = null;
     //throw new NotImplementedException();
 }