/// <summary> /// Called if a change in the options "Extend file name by" occured. /// </summary> public void EhChange_ExtendFileNameOptions() { Options.ExtendFileNameWith oldValue = this.m_ExtendFileNameWith; if (m_Form.ExtendFileName_ContinuousNumber) { this.m_ExtendFileNameWith = Options.ExtendFileNameWith.ContinuousNumber; } else if (m_Form.ExtendFileName_ByColumn) { this.m_ExtendFileNameWith = Options.ExtendFileNameWith.Column; } if (this.m_ExtendFileNameWith != oldValue) { if (this.m_ExtendFileNameWith == Options.ExtendFileNameWith.Column) { // now set the contents of the combo box this.FillExtFileNameColumnBox(); } else { m_Form.EnableExtFileNameColumnBox = false; } } }
/// <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 = ""; }
/// <summary> /// Called if a change in the options "Extend file name by" occured. /// </summary> public void EhChange_ExtendFileNameOptions() { Options.ExtendFileNameWith oldValue = this.m_ExtendFileNameWith; if(m_Form.ExtendFileName_ContinuousNumber) this.m_ExtendFileNameWith = Options.ExtendFileNameWith.ContinuousNumber; else if(m_Form.ExtendFileName_ByColumn) this.m_ExtendFileNameWith = Options.ExtendFileNameWith.Column; if(this.m_ExtendFileNameWith != oldValue) { if(this.m_ExtendFileNameWith==Options.ExtendFileNameWith.Column) { // now set the contents of the combo box this.FillExtFileNameColumnBox(); } else { m_Form.EnableExtFileNameColumnBox=false; } } }
/// <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=""; }