Summary description for LayerPropertiesWnd.
Inheritance: System.Windows.Forms.Form
Example #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();
        }
Example #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();
 }
Example #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();
 }