//
// Copyright (c) 2021, MindFusion LLC - Bulgaria.
//

using System;
using System.Windows.Forms;

using MindFusion.Diagramming;


namespace MindFusion.Tools.ShapeDesigner
{
	/// <summary>
	/// Summary description for PropertiesForm.
	/// </summary>
	public partial class PropertiesForm : Form
	{
		public PropertiesForm()
		{
			InitializeComponent();
		}

		public Shape Shape
		{ 
			set
			{
				shape = value;
				textBoxId.Text = shape.Id;
				textBoxDisplayName.Text = shape.DisplayName;
			}
		}

		public string DisplayName
		{
			get { return textBoxDisplayName.Text; }
		}

		public string Id
		{
			get { return textBoxId.Text; }
		}


		private Shape shape;
	}
}
