setvalues() публичный Метод

public setvalues ( MapLayer ml ) : void
ml MapLayer
Результат void
Пример #1
0
        private void open_properties()
        {
            LayerPropertiesWnd lpw = new LayerPropertiesWnd();

            lpw.init(mLayerRef);
            if (lpw.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            lpw.setvalues(mLayerRef);
            mLayerRef.parentmap.touch();
            Global.ForceRedraws();
        }
Пример #2
0
 private void b_layerproperties_Click(object sender, System.EventArgs e)
 {
     if (Global.editedLayer == null || Global.editedLayer.type != LayerType.Tile) return;
     MapLayer mLayerRef = Global.editedLayer;
     LayerPropertiesWnd lpw = new LayerPropertiesWnd();
     lpw.init(mLayerRef);
     if (lpw.ShowDialog() == DialogResult.Cancel) return;
     lpw.setvalues(mLayerRef);
     mLayerRef.parentmap.touch();
 }
Пример #3
0
 private void open_properties()
 {
     LayerPropertiesWnd lpw = new LayerPropertiesWnd();
     lpw.init(mLayerRef);
     if(lpw.ShowDialog()==DialogResult.Cancel) return;
     lpw.setvalues(mLayerRef);
     mLayerRef.parentmap.touch();
     Global.ForceRedraws();
 }