private void adoptersManagementToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!(this.ParentForm is AdoptersManagement))
     {
         this.ParentForm.Hide();
         AdoptersManagement form = new AdoptersManagement();
         form.ShowDialog();
         this.ParentForm.Close();
     }
 }
 private void picAdoptersManagement_Click(object sender, EventArgs e)
 {
     try
     {
         this.Hide();
         AdoptersManagement newForm = new AdoptersManagement();
         newForm.ShowDialog();
         this.Show();
     }
     catch (Exception)
     {
     }
 }