예제 #1
0
 public FrmAnadeElemento(DireccionPuntoSOB listaObservada, IGeocodificador geocodificador)
 {
     InitializeComponent();
     _listaObservada = listaObservada;
     _dp             = new DireccionPunto();
     _geocodificador = geocodificador;
 }
예제 #2
0
 public FrmModificaElemento(DireccionPuntoSOB listaObservada, string key, IGeocodificador geocodificador)
 {
     InitializeComponent();
     _listaObservada = listaObservada;
     _dp             = listaObservada[key];
     _geocodificador = geocodificador;
 }
예제 #3
0
파일: FrmMain.cs 프로젝트: epiclm/geotomap
        /// <summary>
        ///
        /// </summary>
        public FrmMain()
        {
            this.Hide();
            Thread hiloVentanaInicio = new Thread(new ThreadStart(_frmInicio.Mostrar));

            hiloVentanaInicio.IsBackground = true;
            hiloVentanaInicio.Start();
            InitializeComponent();
            items = new DireccionPuntoSOB();
            items.ChangeCollection += manejaCambiosObserver;
            sbSalida = new StringBuilder();
        }
예제 #4
0
파일: FrmMain.cs 프로젝트: epiclm/geotomap
        /// <summary>
        ///
        /// </summary>
        /// <param name="filename"></param>
        public FrmMain(string filename)
        {
            pathFile              = Path.GetPathRoot(filename);
            nameFile              = Path.GetFileName(filename);
            runInmediately        = false;
            txtCarpetaSalida.Text = pathFile;
            this.Hide();
            Thread hiloVentanaInicio = new Thread(new ThreadStart(_frmInicio.Mostrar));

            hiloVentanaInicio.IsBackground = true;
            hiloVentanaInicio.Start();
            InitializeComponent();
            items = new DireccionPuntoSOB();
            items.ChangeCollection += manejaCambiosObserver;
            sbSalida = new StringBuilder();
        }
예제 #5
0
파일: FrmMain.cs 프로젝트: epiclm/geotomap
        /// <summary>
        ///
        /// </summary>
        /// <param name="filename"></param>
        /// <param name="runInmediately"></param>
        /// <param name="closeAfterRun"></param>
        public FrmMain(string filename, bool runInmediately, bool closeAfterRun)
        {
            pathFile            = Path.GetDirectoryName(filename);
            nameFile            = Path.GetFileName(filename);
            this.closeAfterRun  = closeAfterRun;
            this.runInmediately = runInmediately;
            if (String.IsNullOrEmpty(pathFile))
            {
                pathFile = Path.GetDirectoryName(Application.ExecutablePath);
            }
            this.Hide();
            Thread hiloVentanaInicio = new Thread(new ThreadStart(_frmInicio.Mostrar));

            hiloVentanaInicio.IsBackground = true;
            hiloVentanaInicio.Start();
            InitializeComponent();
            items = new DireccionPuntoSOB();
            items.ChangeCollection += manejaCambiosObserver;
            sbSalida = new StringBuilder();
        }