private void EditLayer() { if (tvwDeptlayer.SelectedNode == null) { return; } DepartmentLayer layer = (DepartmentLayer)tvwDeptlayer.SelectedNode.Tag; FrmLayerAttr frmLayer = new FrmLayerAttr(this.tvwDeptlayer, layer); frmLayer.ShowDialog( ); }
private void AddLayer() { FrmLayerAttr frmLayer = new FrmLayerAttr(this.tvwDeptlayer); frmLayer.ShowDialog( ); }