コード例 #1
0
ファイル: FormForVariableDef.cs プロジェクト: cyrenaique/HCSA
 private void checkBoxRandom_CheckedChanged(object sender, EventArgs e)
 {
     FormForRandSpecOfVar WindowForRandSpec = new FormForRandSpecOfVar(this.thisVariable.RandomInfo);
     if (WindowForRandSpec.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         thisVariable.RandomInfo = WindowForRandSpec.RandomParam;
 }
コード例 #2
0
        private void radioButtonVolumeRandom_MouseClick(object sender, MouseEventArgs e)
        {
            //    if (e.Button == System.Windows.Forms.MouseButtons.Right)
            //    {
                FormForRandSpecOfVar WindowForRandSpec = new FormForRandSpecOfVar(this.v_InitVol.RandomInfo);
                if (WindowForRandSpec.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                    this.v_InitVol.RandomInfo = WindowForRandSpec.RandomParam;

              //  }
        }