public void Do() { if (ve != null) { return; } ve = new frmCargando(this); ve.SetDesktopLocation(DesktopLocation.X + (int)Math.Floor((double)Width / 2) - 20, DesktopLocation.Y + ((int)Math.Floor((double)Height / 2) - (int)Math.Floor((double)ve.Height / 2))); ve.Show(); ve.Padre.Enabled = false; }
/// <summary> /// Se encarga de mostrar un logo al inicio /// </summary> private static void Cargando() { VistaCargando = new frmCargando(); VistaCargando.Show(); }