Example #1
0
        public MapSetupForm(ArcGISMapSourceDesign source)
        {
            InitializeComponent();

            this.source = source;
            this.Map = source.Map;
            AddLayer("Красный слой", 1);
            AddLayer("Синий слой", 2);
            AddLayer("Сетка", 3);
        }
Example #2
0
        public ArcGISMapForm(ArcGISMapSourceDesign sourceDesign, Window window)
        {
            InitializeComponent();
            if (window is ActiveWindow)
            {
                wnd = (ActiveWindow)window;
                BackColor = wnd.BorderColorFrienly;
            }
            //sourceDesign.Wnd = wnd;
            //sourceDesign.IsPlayerMode = true;
            //_sourceCopy = SourceDesignClone(sourceDesign);
            //this.sourceDesign = sourceDesign;
            //this.sourceDesign.InitializeChart(true);

            //Controls.Clear();
            //this.sourceDesign.AddChartToContainer(this, wnd);

        }