/// <summary> /// Creates a new <c>GetPointForm</c> /// </summary> /// <param name="cmd">The parent command.</param> /// <param name="title">The title for the window.</param> /// <param name="col">The color hint for the point.</param> /// <param name="enableBack">Should the "back" button be enabled?</param> internal GetPointForm(PathUI cmd, string title, Color col, bool enableBack) { InitializeComponent(); m_Parent = cmd; m_Point = null; m_Color = col; m_Title = title; m_IsPointed = false; m_IsBackEnabled = enableBack; }
private void PointConnectionPath(IUserAction action) { CommandUI cmd = new PathUI(this, action); m_Controller.StartCommand(cmd); }