예제 #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();
 }
예제 #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();
     }
 }
예제 #3
0
 private void IndForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     indForm = null;
 }
예제 #4
0
        private void btnInd_Click(object sender, EventArgs e)
        {
            Indentification indForm = new Indentification();

            indForm.Show();
        }