Esempio n. 1
0
 public FormProgress()
 {
     layerInfo = Module1.layerInfo;
     xmlDocumentCapabilities = new XmlDocument();
     xmlDocumentCapabilities = layerInfo.xmlDocumentCapabilities;
     manualResetEvent        = new ManualResetEvent(false);
     InitializeComponent();
     InitializeBackgroundWorker();
     this.backgroundWorkerDownload.RunWorkerAsync();
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 /// <summary>
 /// Retrieve the singleton instance to this module here
 /// </summary>
 public Module1()
 {
     thereIsDownloadNow = false;
     formData           = new FormData();
     layerInfo          = new LayerInfo();
 }