Beispiel #1
0
 public frmFondo(Form ventana, List <Dictionary <string, object> > lista, string titulo, setString enviar, string tituloMenu)
 {
     InitializeComponent();
     this.FormBorderStyle = FormBorderStyle.None;
     this.Owner           = ventana;
     this.Size            = ventana.Size;
     this.Location        = ventana.Location;
     this.Padding         = ventana.Padding;
     this.lista           = lista;
     this.titulo          = titulo;
     this.enviar          = enviar;
     this.tituloMenu      = tituloMenu;
     this.ShowInTaskbar   = false;
 }
Beispiel #2
0
        public frmMenu(Form ventana, List <Dictionary <string, object> > lista, string titulo, setString enviar, string tituloMenu)
        {
            InitializeComponent();
            int width  = this.Size.Width;
            int height = ventana.Size.Height;

            this.Owner = ventana;
            int x = ventana.Location.X;
            int y = ventana.Location.Y;

            this.Size          = new Size(width, height - 100);
            this.Location      = new Point(x + 10, (y + (ventana.Height / 2) - (this.Height / 2)));
            this.lista         = lista;
            this.titulo        = titulo;
            this.enviar        = enviar;
            this.tituloMenu    = tituloMenu;
            this.ventana       = ventana;
            this.ShowInTaskbar = false;
        }