Exemplo n.º 1
0
		protected override Infrustructure.Plans.Elements.ElementBaseRectangle CreateElement()
		{
			var element = new ElementRectangleXZone();
			var propertiesViewModel = new ZonePropertiesViewModel(element, _zonesViewModel);
			if (!DialogService.ShowModalWindow(propertiesViewModel))
				return null;
			Helper.SetXZone(element);
			return element;
		}
Exemplo n.º 2
0
		public override ElementBase Clone()
		{
			var elementBase = new ElementRectangleXZone();
			Copy(elementBase);
			return elementBase;
		}