Example #1
0
 private void InfiniteCB_CheckedChanged(object sender, EventArgs e)
 {
     /*
      * if (FiniteCB.Checked)
      * {
      *  PeriodicCB.Visible = Visible;
      *  NullCB.Visible = Visible;
      *  ArraySizeLabel.Visible = Visible;
      *  ArraySizeTB.Visible = Visible;
      *  InfiniteCB.Checked = false;
      * }
      */
     if (InfiniteCB.Checked)
     {
         PeriodicCB.Hide();
         NullCB.Hide();
         ArraySizeLabel.Hide();
         ArraySizeTB.Hide();
         ParallelCB.Hide();
         SequentialCB.Hide();
         LeftToRight.Hide();
         RightToLeft.Hide();
         Random.Hide();
         UserCB.Hide();
         FiniteCB.Checked = false;
     }
 }
Example #2
0
        public Form1()
        {
            InitializeComponent();



            InfiniteCB.Checked = true;
            PeriodicCB.Hide();
            NullCB.Hide();
            ArraySizeLabel.Hide();
            ArraySizeTB.Hide();
            ParallelCB.Hide();
            SequentialCB.Hide();
            RightToLeft.Hide();
            LeftToRight.Hide();
            Random.Hide();
            UserCB.Hide();
            ParallelCB.Checked  = true;
            PeriodicCB.Checked  = true;
            LeftToRight.Checked = true;
        }