Exemplo n.º 1
0
 private void btnAddLayer_Click(object sender, EventArgs e)
 {
     LayerEdit le = new LayerEdit();
     le.LayerName = "New Layer";
     le.LayerNew = true;
     layerList.Add(le);
     dgvLayers.DataSource = null;
       SetDataGrid();
 }
Exemplo n.º 2
0
        private void btnAddLayer_Click(object sender, EventArgs e)
        {
            LayerEdit le = new LayerEdit();

            le.LayerName = "New Layer";
            le.LayerNew  = true;
            layerList.Add(le);
            dgvLayers.DataSource = null;
            SetDataGrid();
        }
Exemplo n.º 3
0
        public LayerDialog(Layers _layers)
        {
            InitializeComponent();
            for (int i = 0; i < _layers.Count; i++)
            {
                LayerEdit le = new LayerEdit();
                le.LayerName = _layers[i].LayerName;
                le.LayerVisible = _layers[i].IsVisible;
                le.LayerActive = _layers[i].IsActive;

                layerList.Add(le);
            }
              SetDataGrid();
        }
Exemplo n.º 4
0
        public LayerDialog(Layers _layers)
        {
            InitializeComponent();
            for (int i = 0; i < _layers.Count; i++)
            {
                LayerEdit le = new LayerEdit();
                le.LayerName    = _layers[i].LayerName;
                le.LayerVisible = _layers[i].IsVisible;
                le.LayerActive  = _layers[i].IsActive;

                layerList.Add(le);
            }
            SetDataGrid();
        }