Пример #1
0
 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;
 }
        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;

              //  }
        }