Exemple #1
0
 void RbTemaAdscripcionCheckedChanged(object sender, System.EventArgs e)
 {
     if (this.rbTemaAdscripcion.Checked == true)
     {
         this._tipoMapa   = AdminMapas.TipoMapa.TemaAdscripcion;
         this._tipoPaleta = (TipoPaleta)Enum.Parse(typeof(TipoPaleta), (string)this.cbPaletaDinamica.SelectedItem);
         this.RefrescarMapa(this.twNavegador.SelectedNode);
         this.panelLeyenda.Refresh();
     }
 }
Exemple #2
0
 void RbPredeterminadoCheckedChanged(object sender, System.EventArgs e)
 {
     if (this.rbPredeterminado.Checked == true)
     {
         this._tipoMapa   = AdminMapas.TipoMapa.Predeterminado;
         this._tipoPaleta = TipoPaleta.predeterminada;
         this.RefrescarMapa(this.twNavegador.SelectedNode);
         this.panelLeyenda.Refresh();
     }
 }
Exemple #3
0
        void RbTemaUsoCheckedChanged(object sender, System.EventArgs e)
        {
            if (this.rbTemaUso.Checked == true)
            {
                this._tipoMapa = AdminMapas.TipoMapa.TemaUso;

                // En el caso de que se seleccione trama
                if (this.chTrama.Checked)
                {
                    this._tipoPaleta = TipoPaleta.tramado;
                }
                else
                {
                    this._tipoPaleta = TipoPaleta.predeterminada;
                }
                this.RefrescarMapa(this.twNavegador.SelectedNode);
                this.panelLeyenda.Refresh();
            }
        }