Summary description for LayerPropertiesWnd.
Inheritance: System.Windows.Forms.Form
示例#1
0
文件: LPanel.cs 项目: salviati/verge3
        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();
 }