示例#1
0
        private void saveFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            PolygonSerializer serializer = new PolygonSerializer();

            serializer.SavePolygonsAsQGIS(saveFileDialog1.FileName, updatedPolygons);
            MessageBox.Show("Файл сохранен успешно!", "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
示例#2
0
        private void save_Click(object sender, EventArgs e)
        {
            PolygonSerializer serializer = new PolygonSerializer();

            serializer.SavePolygons(this.currentFilename, updatedPolygons);
        }