public BinarizeThresholdSetting(ref BinarizeThresholdParameter binThParam) //RENAME { InitializeComponent(); //パラメータインスタンス生成 binarizeThresholdParam = binThParam; ThresholdTextBox.Text = binarizeThresholdParam.threshold.ToString(); }
/// <summary> /// 設定画面表示メソッド /// </summary> /// <returns></returns> public void Setting() { binarizeThresholdParameter = new BinarizeThresholdParameter(); if (SettingForm == null || SettingForm.IsDisposed) { SettingForm = new BinarizeThresholdSetting(ref binarizeThresholdParameter); //RENAME } SettingForm.Show(); return; }