コード例 #1
0
        /// <summary>
        /// Called if a change in the options "X values from" occured.
        /// </summary>
        public void EhChange_XValuesFromOptions()
        {
            Options.XValuesFrom oldValue = m_XValuesFrom;

            if (m_Form.XValuesContinuousNumber)
            {
                m_XValuesFrom = Options.XValuesFrom.ContinuousNumber;
            }
            else if (m_Form.XValuesFromColumn)
            {
                m_XValuesFrom = Options.XValuesFrom.Column;
            }

            if (m_XValuesFrom != oldValue)
            {
                if (m_XValuesFrom == Options.XValuesFrom.Column)
                {
                    this.FillXValuesColumnBox();
                }
                else
                {
                    m_Form.EnableXValuesColumnBox = false;
                }
            }
        }
コード例 #2
0
        /// <summary>
        /// Initialize the elements of the dialog.
        /// </summary>
        public void InitializeElements()
        {
            this.m_CreateSpectrumFrom    = Options.CreateSpectrumFrom.Row;
            m_Form.CreateSpectrumFromRow = true;

            this.m_XValuesFrom             = Options.XValuesFrom.ContinuousNumber;
            m_Form.XValuesContinuousNumber = true;

            this.m_ExtendFileNameWith = Options.ExtendFileNameWith.ContinuousNumber;
            m_Form.ExtendFileName_ContinuousNumber = true;
            m_Form.BasicFileName = "";
        }
コード例 #3
0
    /// <summary>
    /// Called if a change in the options "X values from" occured.
    /// </summary>
    public void EhChange_XValuesFromOptions()
    {
      Options.XValuesFrom oldValue = m_XValuesFrom;

      if(m_Form.XValuesContinuousNumber)
        m_XValuesFrom = Options.XValuesFrom.ContinuousNumber;
      else if(m_Form.XValuesFromColumn)
        m_XValuesFrom = Options.XValuesFrom.Column;

      if(m_XValuesFrom != oldValue)
      {
        if(m_XValuesFrom==Options.XValuesFrom.Column)
        {
          this.FillXValuesColumnBox();
        }
        else
        {
          m_Form.EnableXValuesColumnBox=false;
        }
      }
    }
コード例 #4
0
    /// <summary>
    /// Initialize the elements of the dialog.
    /// </summary>
    public void InitializeElements()
    {
      this.m_CreateSpectrumFrom = Options.CreateSpectrumFrom.Row;
      m_Form.CreateSpectrumFromRow=true;

      this.m_XValuesFrom = Options.XValuesFrom.ContinuousNumber;
      m_Form.XValuesContinuousNumber=true;

      this.m_ExtendFileNameWith = Options.ExtendFileNameWith.ContinuousNumber;
      m_Form.ExtendFileName_ContinuousNumber=true;
      m_Form.BasicFileName="";
    }