Example #1
0
 private void identificationbtn_Click(object sender, EventArgs e)
 {
     startupPnl.Visible = false;
     disposing();
     newMDIiden = new Indentification();
     // Set the Parent Form of the Child window.
     newMDIiden.MdiParent = this;
     newMDIiden.Dock      = DockStyle.Fill;
     // Display the new form.
     //this.mriContainer.Controls.Add(newMDIChild);
     newMDIiden.Show();
 }
Example #2
0
 private void btnIdentify_Click(object sender, EventArgs e)
 {
     if (indForm == null)
     {
         indForm             = new Indentification();
         indForm.MdiParent   = this;
         indForm.FormClosed += IndForm_FormClosed;
         indForm.Show();
     }
     else
     {
         indForm.Activate();
     }
 }
Example #3
0
 private void IndForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     indForm = null;
 }
Example #4
0
        private void btnInd_Click(object sender, EventArgs e)
        {
            Indentification indForm = new Indentification();

            indForm.Show();
        }