private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (noChild() == true)
     {
         frmCambiarContrasena f = new frmCambiarContrasena();
         f.MdiParent = this;
         f.Show();
       //  f.WindowState = FormWindowState.Maximized;
     }
 }
 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmCambiarContrasena f = new frmCambiarContrasena();
     f.ShowDialog();
 }
 private void btnCambiar_Click(object sender, EventArgs e)
 {
     forms.Seguridad.frmCambiarContrasena f = new forms.Seguridad.frmCambiarContrasena();
     f.ShowDialog();
 }