public FrmAnadeElemento(DireccionPuntoSOB listaObservada, IGeocodificador geocodificador) { InitializeComponent(); _listaObservada = listaObservada; _dp = new DireccionPunto(); _geocodificador = geocodificador; }
public FrmModificaElemento(DireccionPuntoSOB listaObservada, string key, IGeocodificador geocodificador) { InitializeComponent(); _listaObservada = listaObservada; _dp = listaObservada[key]; _geocodificador = geocodificador; }
/// <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(); }
/// <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(); }
/// <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(); }