예제 #1
0
 public void Print(CertPolicyGroup group)
 {
     CommandUI.Print("ID", group.ID);
     CommandUI.Print("Name", group.Name);
     CommandUI.Print("Description", group.Description);
     CommandUI.Print("CreateDate", group.CreateDate);
 }
예제 #2
0
        /// <summary>
        /// Handles completion of an editing command.
        /// </summary>
        /// <param name="cmd">The command that is finishing.</param>
        /// <returns>True if the command is one that was created by this update object.</returns>
        internal bool FinishCommand(CommandUI cmd)
        {
            // A prior call to AddUpdate should have been made
            if (HasRevisions == false)
            {
                throw new InvalidOperationException("UpdateUI.FinishCommand - revised edit not available");
            }

            // Delete the command.
            if (!DeleteCommand(cmd))
            {
                return(false);
            }

            // Was the command run to fix a problem?
            bool wasProblem = (m_Problem != null);

            m_Problem = null;

            // If so, re-display the info for the originally selected op.
            if (wasProblem && m_SelectedFeature != null)
            {
                Run(m_SelectedFeature);
            }

            // Propagate the change (breaking if an operation can no longer be calculated, which assigns m_Problem)
            ApplyRevision();

            // Ensure info window is shown
            m_Info.OnFinishUpdate(m_Problem);

            // Force a redraw.
            this.Controller.RefreshAllDisplays();
            return(true);
        }
예제 #3
0
 internal void Print(X509Certificate2 x509)
 {
     CommandUI.Print("Subject", x509.Subject);
     CommandUI.Print("SerialNumber", x509.SerialNumber);
     CommandUI.Print("Issuer", x509.Issuer);
     CommandUI.Print("HasPrivateKey", x509.HasPrivateKey);
 }
예제 #4
0
 private void StartDrag(CommandUI dragCmd)
 {
     DragCmd            = dragCmd;
     DragCmd.isDragging = true;
     DragCmd.Dragging();
     DragCmd.GetComponent <CanvasGroup>().blocksRaycasts = false;
 }
예제 #5
0
 public void CommandExecuted(CommandUI cmdUI, object sender)
 {
     Show(new Location(1, 2, 3), new Location(3, 2, 1));
     Show(new Location(2, 3, 1), new Location(3, 2, 1));
     Show(new LocationF(1, 1, 3), new LocationF(2, 4, 3));
     Show(new LocationF(4, 2, 1), new LocationF(1, 1, 3));
 }
예제 #6
0
        /// <summary>
        /// Handles cancellation of an editing command.
        /// </summary>
        /// <param name="cmd">The command that is being cancelled.</param>
        /// <returns>True if the command is one that was created by this update object.</returns>
        internal bool AbortCommand(CommandUI cmd)
        {
            // Return if the command wasn't started by this update.
            if (!Object.ReferenceEquals(cmd, m_Cmd))
            {
                return(false);
            }

            // Delete the command.
            m_Cmd.Dispose();
            m_Cmd = null;

            // Revert to the save point that was set when we started the command.

            // SS 27-MAR-2003 -- In the case of a command that was
            // invoked to fix a problem, DON'T undo. That has to
            // wait until the user clicks the Undo button that's
            // part of the m_Info dialog.

            // SS 06-MAR-2012 -- No longer relevant(?)
            //if (m_Problem==null)
            //	Undo();

            // Paint in our own way.
            Draw();

            // Ensure info window is shown
            m_Info.OnAbortUpdate();
            return(true);
        }
예제 #7
0
 public void Print(IEnumerable <Domain> domains)
 {
     foreach (Domain domain in domains)
     {
         Print(domain);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #8
0
 private static void Print(IEnumerable <Administrator> administrators)
 {
     foreach (Administrator administrator in administrators)
     {
         Print(administrator);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #9
0
 public void Print(IEnumerable <CertPolicyGroup> policies)
 {
     foreach (CertPolicyGroup group in policies)
     {
         Print(group);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #10
0
 private static void Print(Administrator administrator)
 {
     CommandUI.Print("Username", administrator.Username);
     CommandUI.Print("ID", administrator.ID);
     CommandUI.Print("Status", administrator.Status);
     CommandUI.Print("CreateDate", administrator.CreateDate);
     CommandUI.Print("UpdateDate", administrator.UpdateDate);
 }
예제 #11
0
 internal void Print(IEnumerable <Address> addresses)
 {
     foreach (Address address in addresses)
     {
         Print(address);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #12
0
 public void Print(IEnumerable <CertPolicy> policies)
 {
     foreach (CertPolicy policy in policies)
     {
         Print(policy);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #13
0
 void Print(DnsRecord[] records)
 {
     foreach (DnsRecord record in records)
     {
         Print(record);
         CommandUI.PrintDivider();
     }
 }
예제 #14
0
 /// <summary>
 /// Reacts to selection of the Cancel button in the dialog. This will forward to
 /// the current update command if one is running (otherwise it does nothing).
 /// </summary>
 /// <param name="wnd">The currently active control (not used)</param>
 internal override void DialAbort(Control wnd)
 {
     if (m_Cmd != null)
     {
         m_Cmd.DialAbort(wnd);
         m_Cmd = null;
     }
 }
예제 #15
0
 private void IntersectForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     // If the command hasn't been finished, cancel it now.
     if (m_Cmd != null)
     {
         m_Cmd.DialAbort(null);
         m_Cmd = null;
     }
 }
예제 #16
0
 /// <summary>
 /// Handles click on the wizard Finish button.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void wizard_Finish(object sender, EventArgs e)
 {
     // The call to IntersectUI.DialFinish will usually lead to a call
     // to the Finish method below. It won't if we're doing an update.
     if (m_Cmd != null && m_Cmd.DialFinish(null))
     {
         m_Cmd = null;
     }
 }
예제 #17
0
        internal TerminalControl(UpdateUI updcmd, bool isLast)
        {
            InitializeComponent();

            m_Cmd      = updcmd;
            m_IsLast   = isLast;
            m_Line     = null;
            m_Terminal = null;
        }
예제 #18
0
        internal TerminalControl(ParallelLineUI cmd, bool isLast)
        {
            InitializeComponent();

            m_Cmd      = cmd;
            m_IsLast   = isLast;
            m_Line     = null;
            m_Terminal = null;
        }
예제 #19
0
        internal TerminalControl(ParallelLineUI cmd, bool isLast)
        {
            InitializeComponent();

            m_Cmd = cmd;
            m_IsLast = isLast;
            m_Line = null;
            m_Terminal = null;
        }
예제 #20
0
        internal TerminalControl(UpdateUI updcmd, bool isLast)
        {
            InitializeComponent();

            m_Cmd = updcmd;
            m_IsLast = isLast;
            m_Line = null;
            m_Terminal = null;
        }
예제 #21
0
 public void Print(Domain domain)
 {
     CommandUI.Print("Name", domain.Name);
     CommandUI.Print("AgentName", domain.AgentName);
     CommandUI.Print("ID", domain.ID);
     CommandUI.Print("CreateDate", domain.CreateDate);
     CommandUI.Print("UpdateDate", domain.UpdateDate);
     CommandUI.Print("Status", domain.Status);
 }
예제 #22
0
 public void Print(CertPolicy policy)
 {
     CommandUI.Print("ID", policy.ID);
     CommandUI.Print("Name", policy.Name);
     CommandUI.Print("Description", policy.Description);
     CommandUI.Print("CreateDate", policy.CreateDate);
     CommandUI.Print("Data", policy.Data.ToUtf8String());
     CommandUI.Print("# of Groups", policy.CertPolicyGroups == null ? 0 : policy.CertPolicyGroups.Count);
 }
예제 #23
0
 /// <summary>
 /// Initialize everything to zero (for use by constructors).
 /// </summary>
 void SetZeroValues()
 {
     m_Cmd    = null;
     m_Line   = null;
     m_IsLeft = false;
     m_Offset = null;
     m_Point  = null;
     m_South  = null;
     m_North  = null;
 }
예제 #24
0
        internal ParallelControl(UpdateUI updcmd)
        {
            InitializeComponent();

            // Initialize everything.
            SetZeroValues();

            // Remember the command that's running the show.
            m_Cmd = updcmd;
        }
예제 #25
0
        public void AnchorsList(string[] args)
        {
            CertificateGetOptions options = this.CertCommands.GetOptions(args, 0);

            foreach (Anchor anchor in Client.EnumerateAnchors(10, options))
            {
                this.Print(anchor);
                CommandUI.PrintSectionBreak();
            }
        }
예제 #26
0
        internal SimpleLineSubdivisionControl(UpdateUI updcmd)
        {
            InitializeComponent();

            m_Cmd       = updcmd;
            m_Line      = null;
            m_IsFromEnd = false;
            m_Length    = new Distance();
            m_MaxLength = 0.0;
        }
예제 #27
0
        /// <summary>
        /// Здесь можно блокировать команды и устанавливать галочки
        /// </summary>
        /// <param name="cmdUI"></param>
        protected override void OnUpdateCommand(CommandUI cmdUI)
        {
            if (cmdUI.Document == null)
            {
                cmdUI.Enable(false);
                return;
            }

            cmdUI.Enable();
        }
예제 #28
0
        void Print(DnsRecord dnsRecord)
        {
            CommandUI.Print("RecordID", dnsRecord.ID);
            DnsResourceRecord resourceRecord = dnsRecord.Deserialize();

            m_printer.Print(resourceRecord);

            CommandUI.Print("CreateDate", dnsRecord.CreateDate);
            CommandUI.Print("UpdateDate", dnsRecord.UpdateDate);
            CommandUI.Print("Notes", dnsRecord.Notes);
        }
예제 #29
0
 internal void Print(Address address)
 {
     CommandUI.Print("Email", address.EmailAddress);
     CommandUI.Print("ID", address.ID);
     CommandUI.Print("DisplayName", address.DisplayName);
     CommandUI.Print("DomainID", address.DomainID);
     CommandUI.Print("Type", address.Type);
     CommandUI.Print("Status", address.Status);
     CommandUI.Print("CreateDate", address.CreateDate);
     CommandUI.Print("UpdateDate", address.UpdateDate);
 }
예제 #30
0
        internal ParallelControl(ParallelLineUI ui)
        {
            InitializeComponent();

            // Initialize everything.
            SetZeroValues();

            // Remember the command that's running the show (and the
            // line that's the reference line for the parallel).
            m_Cmd  = ui;
            m_Line = ui.ReferenceLine;
        }
예제 #31
0
 void Print(Anchor[] anchors)
 {
     if (anchors == null || anchors.Length == 0)
     {
         WriteLine("No certificates found");
         return;
     }
     foreach (Anchor cert in anchors)
     {
         this.Print(cert);
         CommandUI.PrintSectionBreak();
     }
 }
예제 #32
0
        /// <summary>
        /// Creates a <c>NewCircleForm</c> for a circle, based on a previously
        /// defined circle.
        /// </summary>
        /// <param name="cmd">The command creating this dialog</param>
        /// <param name="recall">The editing operation that's being recalled (null
        /// if not doing a recall)</param>
        internal NewCircleForm(CommandUI cmd, Operation recall)
        {
            InitializeComponent();

            m_Cmd    = cmd;
            m_Recall = (NewCircleOperation)recall;

            m_Center         = null;
            m_Radius         = null;
            m_Circle         = null;
            m_RadiusPoint    = null;
            m_RadiusDistance = null;
            m_Focus          = null;
        }
        internal LineExtensionControl(LineExtensionUI cmd, LineFeature extendLine, Operation recall)
        {
            InitializeComponent();

            Zero();
            m_Cmd = cmd;
            m_ExtendLine = extendLine;

            LineExtensionOperation op = (recall as LineExtensionOperation);
            if (op!=null)
            {
                m_IsExtendFromEnd = op.IsExtendFromEnd;
                m_Length = new Distance(op.Length);
                m_WantLine = (op.NewLine!=null);
            }
        }
예제 #34
0
        internal GetOffsetForm(CommandUI cmd, Offset offset)
        {
            InitializeComponent();

            m_Cmd = cmd;
            m_Offset = null;

            if (offset!=null)
            {
                if (offset is OffsetDistance)
                    m_Offset = new OffsetDistance(offset as OffsetDistance);
                else if (offset is OffsetPoint)
                    m_Offset = new OffsetPoint(offset as OffsetPoint);
            }

            // Don't let OnChangeOffset delete any offset until OnInitDialog has finished.
            m_IsStatic = true;
        }
예제 #35
0
        internal NewPointForm(CommandUI cmd, string title, Operation recall)
        {
            InitializeComponent();

            m_Cmd = cmd;
            m_Position = new Position(0.0, 0.0);
            m_Elevation = 0.0;
            m_Title = (title==null ? String.Empty : title);

            NewPointOperation op = (recall as NewPointOperation);
            if (op != null)
            {
                PointFeature pt = op.Point;
                m_Position.X = pt.X;
                m_Position.Y = pt.Y;

                IPointGeometry pg = pt.Geometry;
                if (pg is IPosition3D)
                    m_Elevation = (pg as IPosition3D).Z;
            }
        }
예제 #36
0
 private void Zero()
 {
     m_Cmd = null;
     m_Recall = null;
     m_From = null;
     m_Backsight = null;
     m_Par1 = null;
     m_Par2 = null;
     m_Radians = 0.0;
     m_IsClockwise = true;
     m_IsDeflection = false;
     m_Length = new Distance();
     m_LengthOffset = null;
     m_DialOff = null;
     m_Offset = null;
     m_Dir = null;
     m_To = null;
     m_Circles = new List<Circle>();
     m_Focus = null;
     m_WantLine = false;
     m_WantCentre = false;
     m_IsStatic = false;
     m_PointId = null;
 }
예제 #37
0
 /// <summary>
 /// Default constructor, for the sake of VisualStudio designer.
 /// </summary>
 internal IntersectForm()
 {
     InitializeComponent();
     m_Cmd = null;
 }
예제 #38
0
 /// <summary>
 /// Creates a <c>NewCircleForm</c> for a brand new circle.
 /// </summary>
 /// <param name="cmd">The command creating this dialog</param>
 internal NewCircleForm(CommandUI cmd)
     : this(cmd, null)
 {
 }
 /// <summary>
 /// Creates a new <c>IntersectDirectionAndLineForm</c>
 /// </summary>
 /// <param name="cmd">The command displaying this dialog (not null)</param>
 /// <param name="title">The string to display in the form's title bar</param>
 public IntersectDirectionAndLineForm(CommandUI cmd, string title)
     : base(cmd, title)
 {
     InitializeComponent();
 }
예제 #40
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UpdateUI"/> class.
        /// </summary>
        /// <param name="action">The action that initiated this command</param>
        public UpdateUI(IUserAction action)
            : base(action)
        {
            m_SelectedFeature = null;
            m_Info = null;
            m_Cmd = null;
            m_IsFinishing = false;
            m_DepOps = null;
            m_Problem = null;

            Session s = CadastralMapModel.Current.WorkingSession;
            m_PreUpdateId = (s.LastOperation == null ? s.Id : s.LastOperation.EditSequence);
        }
예제 #41
0
 /// <summary>
 /// Reacts to selection of the Cancel button in the dialog. This will forward to
 /// the current update command if one is running (otherwise it does nothing).
 /// </summary>
 /// <param name="wnd">The currently active control (not used)</param>
 internal override void DialAbort(Control wnd)
 {
     if (m_Cmd != null)
     {
         m_Cmd.DialAbort(wnd);
         m_Cmd = null;
     }
 }
예제 #42
0
 private void IntersectForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     // If the command hasn't been finished, cancel it now.
     if (m_Cmd != null)
     {
         m_Cmd.DialAbort(null);
         m_Cmd = null;
     }
 }
예제 #43
0
 /// <summary>
 /// Handles click on the wizard Finish button.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void wizard_Finish(object sender, EventArgs e)
 {
     // The call to IntersectUI.DialFinish will usually lead to a call
     // to the Finish method below. It won't if we're doing an update.
     if (m_Cmd!=null && m_Cmd.DialFinish(null))
         m_Cmd = null;
 }
예제 #44
0
 internal RadialControl(RadialUI cmd, PointFeature from)
 {
     InitializeComponent();
     Zero();
     m_Cmd = cmd;
     m_From = from;
     m_Recall = (RadialOperation)cmd.Recall;
     m_PointId = new IdHandle();
     InitOp(m_Recall);
 }
 internal LineExtensionControl(UpdateUI updcmd)
 {
     InitializeComponent();
     Zero();
     m_Cmd = updcmd;
 }
예제 #46
0
 internal RadialControl(UpdateUI updcmd)
 {
     InitializeComponent();
     Zero();
     m_Cmd = updcmd;
     InitUpdate();
 }
예제 #47
0
        /// <summary>
        /// Runs the update for the current update feature.
        /// </summary>
        /// <returns>True if an update command dialog has been started.</returns>
        bool RunUpdate()
        {
            // Get the operation that created the feature selected for update.
            Operation pop = GetOp();
            if (pop == null)
                return false;

            // There shouldn't already be a command running.
            if (m_Cmd != null)
            {
                MessageBox.Show("UpdateUI.RunUpdate - Update already running?");
                return false;
            }

            // The IControlContainer is a bit of a dodo.
            IControlContainer cc = new ContainerForm("Update");

            switch (pop.EditId)
            {
                case EditingActionId.LineExtend:
                {
                    m_Cmd = new LineExtensionUI(cc, pop.EditId, this);
                    break;
                }

                case EditingActionId.LineSubdivision:
                {
                    m_Cmd = new LineSubdivisionUI(cc, pop.EditId, this);
                    break;
                }

                // SS20101011 - In the past, you were allowed to change the lines that were intersected
                // as part of Direction-Line and Line-Line intersects. This would not be a problem if
                // the lines were left un-split. However, if you split the lines, it is possible that
                // subsequent edits would refer to the resultant sections. So if you later refer to a
                // different line, those edits would become invalid. That's why the ability to change
                // Line-Line intersects has been removed. The Direction-Line option is still valid,
                // because you are allowed to change the direction.

                // In the future, it would be better to modify the Direction-Line and Line-Line edits
                // to prohibit splits. That would probably be better handled by a new edit that would
                // let users split a line at an intersection (although I haven't thought that through -
                // it's possible that such an edit would also be subject to similar issues).

                case EditingActionId.DirIntersect:
                case EditingActionId.DirDistIntersect:
                case EditingActionId.DirLineIntersect:
                case EditingActionId.DistIntersect:
                //case EditingActionId.LineIntersect:
                {
                    m_Cmd = new IntersectUI(pop.EditId, this);
                    break;
                }

                case EditingActionId.NewPoint:
                case EditingActionId.GetControl:
                {
                    m_Cmd = new NewPointUI(cc, pop.EditId, this);
                    break;

                }

                case EditingActionId.NewCircle:
                {
                    m_Cmd = new NewCircleUI(cc, pop.EditId, this);
                    break;
                }

                case EditingActionId.Path:
                {
                    m_Cmd = new PathUI(cc, pop.EditId, this);
                    break;
                }

                case EditingActionId.Parallel:
                {
                    m_Cmd = new ParallelLineUI(cc, pop.EditId, this);
                    break;
                }

                case EditingActionId.Radial:
                {
                    m_Cmd = new RadialUI(cc, pop.EditId, this);
                    break;
                }

                case EditingActionId.SimpleLineSubdivision:
                {
                    m_Cmd = new SimpleLineSubdivisionUI(cc, pop.EditId, this);
                    break;
                }
            }

            if (m_Cmd != null)
            {
                m_Cmd.Run();
                return true;
            }

            MessageBox.Show("You cannot update the selected feature this way.");
            return false;
        }
예제 #48
0
        /// <summary>
        /// Handles cancellation of an editing command.
        /// </summary>
        /// <param name="cmd">The command that is being cancelled.</param>
        /// <returns>True if the command is one that was created by this update object.</returns>
        internal bool AbortCommand(CommandUI cmd)
        {
            // Return if the command wasn't started by this update.
            if (!Object.ReferenceEquals(cmd, m_Cmd))
                return false;

            // Delete the command.
            m_Cmd.Dispose();
            m_Cmd = null;

            // Revert to the save point that was set when we started the command.

            // SS 27-MAR-2003 -- In the case of a command that was
            // invoked to fix a problem, DON'T undo. That has to
            // wait until the user clicks the Undo button that's
            // part of the m_Info dialog.

            // SS 06-MAR-2012 -- No longer relevant(?)
            //if (m_Problem==null)
            //	Undo();

            // Paint in our own way.
            Draw();

            // Ensure info window is shown
            m_Info.OnAbortUpdate();
            return true;
        }
예제 #49
0
        /// <summary>
        /// Deletes any command dialog previously created to make an update.
        /// </summary>
        /// <param name="cmd">The command to get rid of</param>
        /// <returns>True if the supplied command matches the one previously created
        /// by this update object (in that case, m_Cmd gets disposed and nulled out).
        /// False if the supplied command is anything else.</returns>
        bool DeleteCommand(CommandUI cmd)
        {
            // Return if the command wasn't started by this update.
            if (!Object.ReferenceEquals(cmd, m_Cmd))
                return false;

            // Get rid of the command.
            if (m_Cmd!=null)
            {
                m_Cmd.Dispose();
                m_Cmd = null;
            }

            return true;
        }
예제 #50
0
        public override void Dispose()
        {
            // If a command is running(!), abort it now.
            if (m_Cmd != null)
            {
                m_Cmd.DialAbort(null);
                m_Cmd = null;
            }

            // Get rid of the dialog that shows info about the current update feature.
            if (m_Info != null)
            {
                m_Info.Dispose();
                m_Info = null;
            }

            base.Dispose();
        }
예제 #51
0
        /// <summary>
        /// Handles completion of an editing command.
        /// </summary>
        /// <param name="cmd">The command that is finishing.</param>
        /// <returns>True if the command is one that was created by this update object.</returns>
        internal bool FinishCommand(CommandUI cmd)
        {
            // A prior call to AddUpdate should have been made
            if (HasRevisions == false)
                throw new InvalidOperationException("UpdateUI.FinishCommand - revised edit not available");

            // Delete the command.
            if (!DeleteCommand(cmd))
                return false;

            // Was the command run to fix a problem?
            bool wasProblem = (m_Problem!=null);
            m_Problem = null;

            // If so, re-display the info for the originally selected op.
            if (wasProblem && m_SelectedFeature!=null)
                Run(m_SelectedFeature);

            // Propagate the change (breaking if an operation can no longer be calculated, which assigns m_Problem)
            ApplyRevision();

            // Ensure info window is shown
            m_Info.OnFinishUpdate(m_Problem);

            // Force a redraw.
            this.Controller.RefreshAllDisplays();
            return true;
        }
 /// <summary>
 /// Creates a new <c>IntersectTwoLinesForm</c>
 /// </summary>
 /// <param name="cmd">The command displaying this dialog (not null)</param>
 /// <param name="title">The string to display in the form's title bar</param>
 public IntersectTwoLinesForm(CommandUI cmd, string title)
     : base(cmd, title)
 {
     InitializeComponent();
 }
예제 #53
0
 /// <summary>
 /// Здесь можно блокировать команды и устанавливать галочки
 /// </summary>
 /// <param name="cmdUI"></param>
 protected override void OnUpdateCommand(CommandUI cmdUI)
 {
     if (cmdUI.Document == null)
     {
         cmdUI.Enable(false);
         return;
     }
     cmdUI.Enable();
 }
예제 #54
0
        /// <summary>
        /// Creates a <c>NewCircleForm</c> for a circle, based on a previously
        /// defined circle.
        /// </summary>
        /// <param name="cmd">The command creating this dialog</param>
        /// <param name="recall">The editing operation that's being recalled (null
        /// if not doing a recall)</param>
        internal NewCircleForm(CommandUI cmd, Operation recall)
        {
            InitializeComponent();

            m_Cmd = cmd;
            m_Recall = (NewCircleOperation)recall;

            m_Center = null;
            m_Radius = null;
            m_Circle = null;
            m_RadiusPoint = null;
            m_RadiusDistance = null;
            m_Focus = null;
        }
 /// <summary>
 /// Creates a new <c>IntersectTwoDirectionsForm</c>
 /// </summary>
 /// <param name="cmd">The command displaying this dialog (not null)</param>
 /// <param name="title">The string to display in the form's title bar</param>
 internal IntersectTwoDirectionsForm(CommandUI cmd, string title)
     : base(cmd, title)
 {
     InitializeComponent();
 }
 /// <summary>
 /// Creates a new <c>IntersectTwoDirectionsForm</c>
 /// </summary>
 /// <param name="cmd">The command displaying this dialog (not null)</param>
 /// <param name="title">The string to display in the form's title bar</param>
 internal IntersectDirectionAndDistanceForm(CommandUI cmd, string title)
     : base(cmd, title)
 {
     InitializeComponent();
 }
예제 #57
0
 /// <summary>
 /// Creates a new <c>IntersectForm</c>
 /// </summary>
 /// <param name="cmd">The command displaying this dialog (not null)</param>
 /// <param name="title">The string to display in the form's title bar</param>
 protected IntersectForm(CommandUI cmd, string title)
 {
     InitializeComponent();
     this.Text = title;
     m_Cmd = cmd;
 }