public FormProgress() { layerInfo = Module1.layerInfo; xmlDocumentCapabilities = new XmlDocument(); xmlDocumentCapabilities = layerInfo.xmlDocumentCapabilities; manualResetEvent = new ManualResetEvent(false); InitializeComponent(); InitializeBackgroundWorker(); this.backgroundWorkerDownload.RunWorkerAsync(); }
public FormExportMap() { InitializeComponent(); formData = Module1.formData; selestedLayerInfo = new LayerInfo(); formData.setCurrentCoordinate(); formData.setCurrentScale(); correctCoordinateTopX = true; correctCoordinateTopY = true; correctCoordinateBottomX = true; correctCoordinateBottomY = true; correctCoordinate = true; correctScale = true; availableCRS = new string[] { "EPSG:2180", "EPSG:2176", "EPSG:2177", "EPSG:2178", "EPSG:2179" }; this.comboBoxResolution.Text = formData.dpi.ToString(); setCoordinatesAndScale(); addActiveLayer(); this.labelOutputIS.Visible = false; this.labelOutputImageSPX.Visible = false; this.labelOutputImageSPX.Text = setOutputImageSize(); }
/// <summary> /// Retrieve the singleton instance to this module here /// </summary> public Module1() { thereIsDownloadNow = false; formData = new FormData(); layerInfo = new LayerInfo(); }