Beispiel #1
0
        void MoveNext()
        {
            IntersectForm dial = (this.ParentForm as IntersectForm);

            if (dial != null)
            {
                dial.AdvanceToNextPage();
            }
        }
Beispiel #2
0
        private void lineTypeComboBox_SelectedValueChanged(object sender, EventArgs e)
        {
            // Get the new selection (if any)
            m_LineType = lineTypeComboBox.SelectedEntityType;

            // If we have everything we need, move directly to the
            // next page. Otherwise move to the first field we need.
            if (m_From == null)
            {
                fromPointTextBox.Focus();
            }
            else if (m_Distance == null)
            {
                distanceTextBox.Focus();
            }
            else
            {
                IntersectForm dial = (this.ParentForm as IntersectForm);
                dial.AdvanceToNextPage();
            }
        }