Example #1
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(frmGeneracionAsignacion));

            this.tbLecturas       = new ToolBar();
            this.tbConsultar      = new ToolBarButton();
            this.tbGenerar        = new ToolBarButton();
            this.tbEspecial       = new ToolBarButton();
            this.tbArchivo        = new ToolBarButton();
            this.tbSeguimiento    = new ToolBarButton();
            this.tbCerrar         = new ToolBarButton();
            this.imgListGenerar   = new ImageList(this.components);
            this.statusBar        = new StatusBar();
            this.statusBarPanel1  = new StatusBarPanel();
            this.lblClientesHijo  = new Label();
            this.vwgClientesHijo  = new vwGrd();
            this.lblLecturistas   = new Label();
            this.vwgLecturistas   = new vwGrd();
            this.lblClientesPadre = new Label();
            this.vwgClientesPadre = new vwGrd();
            this.label4           = new Label();
            this.dtpFechaVisita   = new DateTimePicker();
            this.saveFileDialog1  = new SaveFileDialog();
            this.btnValidar       = new Button();
            this.statusBarPanel1.BeginInit();
            base.SuspendLayout();
            this.tbLecturas.Appearance = ToolBarAppearance.Flat;
            this.tbLecturas.Buttons.AddRange(new ToolBarButton[] { this.tbConsultar, this.tbGenerar, this.tbEspecial, this.tbArchivo, this.tbSeguimiento, this.tbCerrar });
            this.tbLecturas.DropDownArrows = true;
            this.tbLecturas.ImageList      = this.imgListGenerar;
            this.tbLecturas.Name           = "tbLecturas";
            this.tbLecturas.ShowToolTips   = true;
            this.tbLecturas.Size           = new Size(0x318, 0x27);
            this.tbLecturas.TabIndex       = 0;
            this.tbLecturas.ButtonClick   += new ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
            this.tbConsultar.ImageIndex    = 2;
            this.tbConsultar.Tag           = "Consultar";
            this.tbConsultar.Text          = "&Consultar";
            this.tbGenerar.Enabled         = false;
            this.tbGenerar.ImageIndex      = 0;
            this.tbGenerar.Tag             = "Generar";
            this.tbGenerar.Text            = "&Generar";
            this.tbEspecial.ImageIndex     = 3;
            this.tbEspecial.Tag            = "Especial";
            this.tbEspecial.Text           = "&Especial";
            this.tbArchivo.ImageIndex      = 1;
            this.tbArchivo.Tag             = "Exportar";
            this.tbArchivo.Text            = "&Exportar";
            this.tbSeguimiento.ImageIndex  = 4;
            this.tbSeguimiento.Tag         = "Seguimiento";
            this.tbSeguimiento.Text        = "&Seguimiento";
            this.tbCerrar.ImageIndex       = 5;
            this.tbCerrar.Tag                    = "Cerrar";
            this.tbCerrar.Text                   = "&Cerrar";
            this.imgListGenerar.ColorDepth       = ColorDepth.Depth8Bit;
            this.imgListGenerar.ImageSize        = new Size(0x10, 0x10);
            this.imgListGenerar.ImageStream      = (ImageListStreamer)manager.GetObject("imgListGenerar.ImageStream");
            this.imgListGenerar.TransparentColor = Color.Transparent;
            this.statusBar.Location              = new Point(0, 0x227);
            this.statusBar.Name                  = "statusBar";
            this.statusBar.Panels.AddRange(new StatusBarPanel[] { this.statusBarPanel1 });
            this.statusBar.ShowPanels                   = true;
            this.statusBar.Size                         = new Size(0x318, 0x16);
            this.statusBar.TabIndex                     = 1;
            this.statusBarPanel1.Width                  = 500;
            this.lblClientesHijo.Anchor                 = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.lblClientesHijo.BorderStyle            = BorderStyle.Fixed3D;
            this.lblClientesHijo.Location               = new Point(0x148, 40);
            this.lblClientesHijo.Name                   = "lblClientesHijo";
            this.lblClientesHijo.Size                   = new Size(0x1d0, 0x17);
            this.lblClientesHijo.TabIndex               = 2;
            this.lblClientesHijo.Text                   = "Contratos hijo";
            this.lblClientesHijo.TextAlign              = ContentAlignment.MiddleLeft;
            this.vwgClientesHijo.Anchor                 = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.vwgClientesHijo.ColumnMargin           = 1;
            this.vwgClientesHijo.FullRowSelect          = true;
            this.vwgClientesHijo.HideSelection          = false;
            this.vwgClientesHijo.Location               = new Point(0x148, 0x40);
            this.vwgClientesHijo.MultiSelect            = false;
            this.vwgClientesHijo.Name                   = "vwgClientesHijo";
            this.vwgClientesHijo.Size                   = new Size(0x1d0, 0x1e4);
            this.vwgClientesHijo.TabIndex               = 3;
            this.vwgClientesHijo.View                   = View.Details;
            this.vwgClientesHijo.DoubleClick           += new EventHandler(this.vwgClientesHijo_DoubleClick);
            this.lblLecturistas.BorderStyle             = BorderStyle.Fixed3D;
            this.lblLecturistas.Location                = new Point(0, 40);
            this.lblLecturistas.Name                    = "lblLecturistas";
            this.lblLecturistas.Size                    = new Size(0x148, 0x17);
            this.lblLecturistas.TabIndex                = 4;
            this.lblLecturistas.Text                    = "Lecturistas y zonas";
            this.lblLecturistas.TextAlign               = ContentAlignment.MiddleLeft;
            this.vwgLecturistas.ColumnMargin            = 1;
            this.vwgLecturistas.FullRowSelect           = true;
            this.vwgLecturistas.HideSelection           = false;
            this.vwgLecturistas.Location                = new Point(0, 0x40);
            this.vwgLecturistas.MultiSelect             = false;
            this.vwgLecturistas.Name                    = "vwgLecturistas";
            this.vwgLecturistas.Size                    = new Size(0x148, 0xc4);
            this.vwgLecturistas.TabIndex                = 5;
            this.vwgLecturistas.View                    = View.Details;
            this.vwgLecturistas.SelectedIndexChanged   += new EventHandler(this.vwgLecturistas_SelectedIndexChanged);
            this.lblClientesPadre.BorderStyle           = BorderStyle.Fixed3D;
            this.lblClientesPadre.Location              = new Point(0, 0x105);
            this.lblClientesPadre.Name                  = "lblClientesPadre";
            this.lblClientesPadre.Size                  = new Size(0x148, 0x17);
            this.lblClientesPadre.TabIndex              = 6;
            this.lblClientesPadre.Text                  = "Contratos padre";
            this.lblClientesPadre.TextAlign             = ContentAlignment.MiddleLeft;
            this.vwgClientesPadre.Anchor                = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.vwgClientesPadre.ColumnMargin          = 1;
            this.vwgClientesPadre.FullRowSelect         = true;
            this.vwgClientesPadre.HideSelection         = false;
            this.vwgClientesPadre.Location              = new Point(0, 0x11d);
            this.vwgClientesPadre.MultiSelect           = false;
            this.vwgClientesPadre.Name                  = "vwgClientesPadre";
            this.vwgClientesPadre.Size                  = new Size(0x148, 0x107);
            this.vwgClientesPadre.TabIndex              = 7;
            this.vwgClientesPadre.View                  = View.Details;
            this.vwgClientesPadre.SelectedIndexChanged += new EventHandler(this.vwgClientesPadre_SelectedIndexChanged);
            this.label4.Anchor                = AnchorStyles.Right | AnchorStyles.Top;
            this.label4.AutoSize              = true;
            this.label4.Location              = new Point(0x240, 12);
            this.label4.Name                  = "label4";
            this.label4.Size                  = new Size(0x52, 14);
            this.label4.TabIndex              = 8;
            this.label4.Text                  = "Fecha de visita:";
            this.dtpFechaVisita.Anchor        = AnchorStyles.Right | AnchorStyles.Top;
            this.dtpFechaVisita.Format        = DateTimePickerFormat.Short;
            this.dtpFechaVisita.Location      = new Point(0x2a0, 9);
            this.dtpFechaVisita.Name          = "dtpFechaVisita";
            this.dtpFechaVisita.Size          = new Size(0x54, 0x15);
            this.dtpFechaVisita.TabIndex      = 9;
            this.dtpFechaVisita.ValueChanged += new EventHandler(this.dtpFechaVisita_ValueChanged);
            this.saveFileDialog1.FileName     = "doc1";
            this.btnValidar.Anchor            = AnchorStyles.Right | AnchorStyles.Top;
            this.btnValidar.FlatStyle         = FlatStyle.Popup;
            this.btnValidar.Image             = (Bitmap)manager.GetObject("btnValidar.Image");
            this.btnValidar.Location          = new Point(760, 8);
            this.btnValidar.Name              = "btnValidar";
            this.btnValidar.Size              = new Size(0x18, 0x18);
            this.btnValidar.TabIndex          = 11;
            this.btnValidar.Click            += new EventHandler(this.btnValidar_Click);
            this.AutoScaleBaseSize            = new Size(5, 14);
            base.ClientSize = new Size(0x318, 0x23d);
            base.Controls.AddRange(new Control[] { this.btnValidar, this.dtpFechaVisita, this.label4, this.vwgClientesPadre, this.vwgLecturistas, this.vwgClientesHijo, this.lblClientesPadre, this.lblLecturistas, this.lblClientesHijo, this.statusBar, this.tbLecturas });
            this.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Icon          = (Icon)manager.GetObject("$this.Icon");
            base.Name          = "frmGeneracionAsignacion";
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text          = "Generaci\x00f3n de asignacion de lecturas";
            base.Load         += new EventHandler(this.frmGeneracionAsignacion_Load);
            this.statusBarPanel1.EndInit();
            base.ResumeLayout(false);
        }
Example #2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStatusLecturas));
     this.vwgLecturaMedidor    = new CustGrd.vwGrd();
     this.lblLecturaMedidor    = new System.Windows.Forms.Label();
     this.btnValidar           = new System.Windows.Forms.Button();
     this.dtpFechaVisita       = new System.Windows.Forms.DateTimePicker();
     this.label4               = new System.Windows.Forms.Label();
     this.statusBarPanel1      = new System.Windows.Forms.StatusBarPanel();
     this.statusBar            = new System.Windows.Forms.StatusBar();
     this.vwgLecturas          = new CustGrd.vwGrd();
     this.lblLecturas          = new System.Windows.Forms.Label();
     this.vwgLecturistaCliente = new CustGrd.vwGrd();
     this.lblLecturistaCliente = new System.Windows.Forms.Label();
     this.imgListGenerar       = new System.Windows.Forms.ImageList(this.components);
     this.tbLecturas           = new System.Windows.Forms.ToolBar();
     this.tbCliente            = new System.Windows.Forms.ToolBarButton();
     this.tbLectura            = new System.Windows.Forms.ToolBarButton();
     this.tbCerrar             = new System.Windows.Forms.ToolBarButton();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     this.SuspendLayout();
     //
     // vwgLecturaMedidor
     //
     this.vwgLecturaMedidor.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                            | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.vwgLecturaMedidor.ColumnMargin  = 1;
     this.vwgLecturaMedidor.FullRowSelect = true;
     this.vwgLecturaMedidor.HideSelection = false;
     this.vwgLecturaMedidor.Location      = new System.Drawing.Point(0, 288);
     this.vwgLecturaMedidor.MultiSelect   = false;
     this.vwgLecturaMedidor.Name          = "vwgLecturaMedidor";
     this.vwgLecturaMedidor.Size          = new System.Drawing.Size(912, 352);
     this.vwgLecturaMedidor.TabIndex      = 10;
     this.vwgLecturaMedidor.UseCompatibleStateImageBehavior = false;
     this.vwgLecturaMedidor.View         = System.Windows.Forms.View.Details;
     this.vwgLecturaMedidor.DoubleClick += new System.EventHandler(this.vwgLecturaMedidor_DoubleClick);
     //
     // lblLecturaMedidor
     //
     this.lblLecturaMedidor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLecturaMedidor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblLecturaMedidor.Location    = new System.Drawing.Point(0, 264);
     this.lblLecturaMedidor.Name        = "lblLecturaMedidor";
     this.lblLecturaMedidor.Size        = new System.Drawing.Size(912, 23);
     this.lblLecturaMedidor.TabIndex    = 9;
     this.lblLecturaMedidor.Text        = "Lectura Medidor";
     this.lblLecturaMedidor.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnValidar
     //
     this.btnValidar.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnValidar.ImageIndex = 3;
     this.btnValidar.ImageList  = this.imgListGenerar;
     this.btnValidar.Location   = new System.Drawing.Point(872, 8);
     this.btnValidar.Name       = "btnValidar";
     this.btnValidar.Size       = new System.Drawing.Size(24, 24);
     this.btnValidar.TabIndex   = 17;
     this.btnValidar.Click     += new System.EventHandler(this.btnValidar_Click);
     //
     // dtpFechaVisita
     //
     this.dtpFechaVisita.Format        = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpFechaVisita.Location      = new System.Drawing.Point(784, 8);
     this.dtpFechaVisita.Name          = "dtpFechaVisita";
     this.dtpFechaVisita.Size          = new System.Drawing.Size(84, 20);
     this.dtpFechaVisita.TabIndex      = 16;
     this.dtpFechaVisita.ValueChanged += new System.EventHandler(this.dtpFechaVisita_ValueChanged);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(696, 11);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(82, 13);
     this.label4.TabIndex = 15;
     this.label4.Text     = "Fecha de visita:";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 500;
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 644);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1
     });
     this.statusBar.ShowPanels = true;
     this.statusBar.Size       = new System.Drawing.Size(912, 22);
     this.statusBar.TabIndex   = 8;
     //
     // vwgLecturas
     //
     this.vwgLecturas.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.vwgLecturas.ColumnMargin  = 1;
     this.vwgLecturas.FullRowSelect = true;
     this.vwgLecturas.HideSelection = false;
     this.vwgLecturas.Location      = new System.Drawing.Point(448, 64);
     this.vwgLecturas.MultiSelect   = false;
     this.vwgLecturas.Name          = "vwgLecturas";
     this.vwgLecturas.Size          = new System.Drawing.Size(456, 196);
     this.vwgLecturas.TabIndex      = 23;
     this.vwgLecturas.UseCompatibleStateImageBehavior = false;
     this.vwgLecturas.View = System.Windows.Forms.View.Details;
     this.vwgLecturas.SelectedIndexChanged += new System.EventHandler(this.vwgLecturas_SelectedIndexChanged);
     //
     // lblLecturas
     //
     this.lblLecturas.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLecturas.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblLecturas.Location    = new System.Drawing.Point(448, 40);
     this.lblLecturas.Name        = "lblLecturas";
     this.lblLecturas.Size        = new System.Drawing.Size(456, 24);
     this.lblLecturas.TabIndex    = 22;
     this.lblLecturas.Text        = "Lecturas";
     this.lblLecturas.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // vwgLecturistaCliente
     //
     this.vwgLecturistaCliente.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.vwgLecturistaCliente.ColumnMargin  = 1;
     this.vwgLecturistaCliente.FullRowSelect = true;
     this.vwgLecturistaCliente.HideSelection = false;
     this.vwgLecturistaCliente.Location      = new System.Drawing.Point(0, 64);
     this.vwgLecturistaCliente.MultiSelect   = false;
     this.vwgLecturistaCliente.Name          = "vwgLecturistaCliente";
     this.vwgLecturistaCliente.Size          = new System.Drawing.Size(448, 196);
     this.vwgLecturistaCliente.TabIndex      = 21;
     this.vwgLecturistaCliente.UseCompatibleStateImageBehavior = false;
     this.vwgLecturistaCliente.View = System.Windows.Forms.View.Details;
     this.vwgLecturistaCliente.SelectedIndexChanged += new System.EventHandler(this.vwgLecturistaCliente_SelectedIndexChanged);
     //
     // lblLecturistaCliente
     //
     this.lblLecturistaCliente.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLecturistaCliente.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblLecturistaCliente.Location    = new System.Drawing.Point(0, 40);
     this.lblLecturistaCliente.Name        = "lblLecturistaCliente";
     this.lblLecturistaCliente.Size        = new System.Drawing.Size(448, 23);
     this.lblLecturistaCliente.TabIndex    = 20;
     this.lblLecturistaCliente.Text        = "Lecturistas";
     this.lblLecturistaCliente.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // imgListGenerar
     //
     this.imgListGenerar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgListGenerar.ImageStream")));
     this.imgListGenerar.TransparentColor = System.Drawing.Color.Transparent;
     this.imgListGenerar.Images.SetKeyName(0, "clientes 2.png");
     this.imgListGenerar.Images.SetKeyName(1, "MedidorL.ico");
     this.imgListGenerar.Images.SetKeyName(2, "Cerrar.ico");
     this.imgListGenerar.Images.SetKeyName(3, "BINOCULR.ICO");
     //
     // tbLecturas
     //
     this.tbLecturas.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tbLecturas.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbCliente,
         this.tbLectura,
         this.tbCerrar
     });
     this.tbLecturas.DropDownArrows = true;
     this.tbLecturas.ImageList      = this.imgListGenerar;
     this.tbLecturas.Location       = new System.Drawing.Point(0, 0);
     this.tbLecturas.Name           = "tbLecturas";
     this.tbLecturas.ShowToolTips   = true;
     this.tbLecturas.Size           = new System.Drawing.Size(912, 42);
     this.tbLecturas.TabIndex       = 25;
     this.tbLecturas.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbLecturas_ButtonClick);
     //
     // tbCliente
     //
     this.tbCliente.ImageIndex = 0;
     this.tbCliente.Name       = "tbCliente";
     this.tbCliente.Tag        = "Cliente";
     this.tbCliente.Text       = "&Cliente";
     //
     // tbLectura
     //
     this.tbLectura.ImageIndex = 1;
     this.tbLectura.Name       = "tbLectura";
     this.tbLectura.Tag        = "Lecturas";
     this.tbLectura.Text       = "&Lecturas";
     //
     // tbCerrar
     //
     this.tbCerrar.ImageIndex = 2;
     this.tbCerrar.Name       = "tbCerrar";
     this.tbCerrar.Tag        = "Cerrar";
     this.tbCerrar.Text       = "&Cerrar";
     //
     // frmStatusLecturas
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(912, 666);
     this.Controls.Add(this.vwgLecturas);
     this.Controls.Add(this.vwgLecturistaCliente);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.vwgLecturaMedidor);
     this.Controls.Add(this.lblLecturas);
     this.Controls.Add(this.lblLecturistaCliente);
     this.Controls.Add(this.btnValidar);
     this.Controls.Add(this.dtpFechaVisita);
     this.Controls.Add(this.lblLecturaMedidor);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(this.tbLecturas);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(920, 700);
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(920, 600);
     this.Name          = "frmStatusLecturas";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Seguimiento Lecturas";
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }