/// <summary>
        ///     Initializes a new instance of <c>LineEditorDialog</c> using an existing <c>Line</c>
        ///     and default window position.
        /// </summary>
        /// <param name="line">Existing <c>Line</c>.</param>
        public LineEditorDialog(Line line)
        {
            InitializeComponent();
			SetLine(line);
            ShowLine();
        }
        /// <summary>
        ///     Initializes a new instance of <c>LineEditorDialog</c> using an existing <c>Line</c>
        ///     and starting beneath a specified control.
        /// </summary>
        /// <param name="line">Existing <c>Line</c>.</param>
        /// <param name="c">Control beneath which the dialog should be placed.</param>
		public LineEditorDialog(Line line, Control c)
		{
            InitializeComponent();
			Utils.SetStartPositionBelowControl(this, c);
			SetLine(line);
		}
		private void ShowLine()
		{
			Line line = Line;
			linePanel1.Line = line;
			linePanel2.Line = line;
		}