internal static string Show(Form owner, Core core, AlgoParameterCollection algo, string defaults, bool readOnly) { using (FrmEditParameters frm = new FrmEditParameters(core, algo, defaults, readOnly)) { if (frm.ShowDialog(owner) == DialogResult.OK) { return(frm._result); } } return(null); }
private void _btnEditParameters_Click(object sender, EventArgs e) { var sm = (TrendBase)this._ecbMethod.SelectedItem; FrmEditParameters.Show(sm, this._txtParams, this._core, this._readOnly); }
private void _btnEditParameters_Click(object sender, EventArgs e) { AlgoBase trend = (AlgoBase)this._ecbMethod.SelectedItem; FrmEditParameters.Show(trend, this._txtParameters, this._core, this._readOnly); }
private void _btnEditParameters_Click(object sender, EventArgs e) { StatisticBase stat = this._ecbMeasure.SelectedItem; FrmEditParameters.Show(stat, this._txtParams, this._core, this._readOnly); }
private void _btnEditDistanceParameters_Click(object sender, EventArgs e) { var dMet = (MetricBase)this._ecbMeasure.SelectedItem; FrmEditParameters.Show(dMet, this._txtParams, this._core, this._readOnly); }
private void _btnEditParameters_Click(object sender, EventArgs e) { ClustererBase stat = (ClustererBase)this._ecbMethod.SelectedItem; FrmEditParameters.Show(stat, this._txtParams, this._core, this._readOnly); }