示例#1
0
        private WForms.Panel BuildFechaFa()
        {
            var toret = new WForms.Panel
            {
                Dock = WForms.DockStyle.Fill
            };

            toret.Controls.Add(new WForms.Label
            {
                Dock = WForms.DockStyle.Left,
                Text = "Fecha Fabricacion"
            });

            EdFechaFa = new WForms.DateTimePicker
            {
                Dock  = WForms.DockStyle.Right,
                Width = (int)(Width * 1.00)
            };

            toret.Controls.Add(EdFechaFa);
            toret.MaximumSize = new Draw.Size(int.MaxValue, EdFechaFa.Height);
            return(toret);
        }
示例#2
0
        private WForms.Panel BuildFechaAd()
        {
            var toret = new WForms.Panel
            {
                Dock = WForms.DockStyle.Fill
            };

            toret.Controls.Add(new WForms.Label
            {
                Dock = WForms.DockStyle.Left,
                Text = "Fecha Adquisicion"
            });

            EdFechaAd = new WForms.DateTimePicker
            {
                Dock    = WForms.DockStyle.Right,
                Width   = (int)(Width * 1.00),
                MaxDate = DateTime.Today
            };

            toret.Controls.Add(EdFechaAd);
            toret.MaximumSize = new Draw.Size(int.MaxValue, EdFechaAd.Height);
            return(toret);
        }
示例#3
0
        private WForms.Panel BuildFiltroFecha()
        {
            var toret = new WForms.Panel
            {
                Dock = WForms.DockStyle.Fill
            };

            toret.Controls.Add(new WForms.Label
            {
                Dock = WForms.DockStyle.Left,
                Text = "Filtrar por fecha"
            });

            EdFechaFiltro = new WForms.DateTimePicker
            {
                Dock  = WForms.DockStyle.Right,
                Width = (int)(Width * 1.25)
            };


            toret.Controls.Add(EdFechaFiltro);
            toret.MaximumSize = new Draw.Size(int.MaxValue, EdFechaFiltro.Height);
            return(toret);
        }